aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/ioprio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ioprio.c b/fs/ioprio.c
index 663e420636d6..97e1f088ba00 100644
--- a/fs/ioprio.c
+++ b/fs/ioprio.c
@@ -43,7 +43,7 @@ static int set_task_ioprio(struct task_struct *task, int ioprio)
43 return 0; 43 return 0;
44} 44}
45 45
46asmlinkage int sys_ioprio_set(int which, int who, int ioprio) 46asmlinkage long sys_ioprio_set(int which, int who, int ioprio)
47{ 47{
48 int class = IOPRIO_PRIO_CLASS(ioprio); 48 int class = IOPRIO_PRIO_CLASS(ioprio);
49 int data = IOPRIO_PRIO_DATA(ioprio); 49 int data = IOPRIO_PRIO_DATA(ioprio);
@@ -115,7 +115,7 @@ asmlinkage int sys_ioprio_set(int which, int who, int ioprio)
115 return ret; 115 return ret;
116} 116}
117 117
118asmlinkage int sys_ioprio_get(int which, int who) 118asmlinkage long sys_ioprio_get(int which, int who)
119{ 119{
120 struct task_struct *g, *p; 120 struct task_struct *g, *p;
121 struct user_struct *user; 121 struct user_struct *user;