Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73346
b: refs/heads/master
c: 8ec680e
h: refs/heads/master
v: v3
  • Loading branch information
Jens Axboe committed Nov 7, 2007
1 parent fe189c2 commit e9d13ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0e7be9edb9134f833278c381b6feabb54b875208
refs/heads/master: 8ec680e4c3ec818efd1652f15199ed1c216ab550
4 changes: 4 additions & 0 deletions trunk/fs/ioprio.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ asmlinkage long sys_ioprio_set(int which, int who, int ioprio)
if (!capable(CAP_SYS_ADMIN))
return -EPERM;
break;
case IOPRIO_CLASS_NONE:
if (data)
return -EINVAL;
break;
default:
return -EINVAL;
}
Expand Down

0 comments on commit e9d13ad

Please sign in to comment.