asmlinkage int sys_ioprio_get(int which, int who)
asmlinkage long sys_ioprio_get(int which, int who)
asmlinkage int sys_ioprio_get(int which, int who){	struct task_struct *g, *p;	struct user_struct *user;	int ret = -ESRCH;	read_lock_irq(&tasklist_lock);	switch (which) {		case IOPRIO_WHO_PROCESS:			if (!who)				p = current;			else				p = find_task_by_pid(who);			if (p)				ret = p->ioprio;			break;		case IOPRIO_WHO_PGRP:			if (!who)				who = process_group(current);			do_each_task_pid(who, PIDTYPE_PGID, p) {				if (ret == -ESRCH)					ret = p->ioprio;				else					ret = ioprio_best(ret, p->ioprio);			} while_each_task_pid(who, PIDTYPE_PGID, p);			break;		case IOPRIO_WHO_USER:			if (!who)				user = current->user;			else				user = find_user(who);			if (!user)				break;			do_each_thread(g, p) {				if (p->uid != user->uid)					continue;				if (ret == -ESRCH)					ret = p->ioprio;				else					ret = ioprio_best(ret, p->ioprio);			} while_each_thread(g, p);			if (who)				free_uid(user);			break;		default:			ret = -EINVAL;	}	read_unlock_irq(&tasklist_lock);	return ret;}