]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/ioprio.c
[PATCH] NFS: Ensure we always update inode->i_mode when doing O_EXCL creates
[linux-2.6-omap-h63xx.git] / fs / ioprio.c
index 663e420636d6b76e147d1b1e3984acc5aefd115a..97e1f088ba00b3b63f7f9ea594b756781fcf6596 100644 (file)
@@ -43,7 +43,7 @@ static int set_task_ioprio(struct task_struct *task, int ioprio)
        return 0;
 }
 
-asmlinkage int sys_ioprio_set(int which, int who, int ioprio)
+asmlinkage long sys_ioprio_set(int which, int who, int ioprio)
 {
        int class = IOPRIO_PRIO_CLASS(ioprio);
        int data = IOPRIO_PRIO_DATA(ioprio);
@@ -115,7 +115,7 @@ asmlinkage int sys_ioprio_set(int which, int who, int ioprio)
        return ret;
 }
 
-asmlinkage int sys_ioprio_get(int which, int who)
+asmlinkage long sys_ioprio_get(int which, int who)
 {
        struct task_struct *g, *p;
        struct user_struct *user;