diff options
Diffstat (limited to 'fs/ioprio.c')
-rw-r--r-- | fs/ioprio.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ioprio.c b/fs/ioprio.c index 06b5d97c5fdd..c4a1c3c65aac 100644 --- a/fs/ioprio.c +++ b/fs/ioprio.c | |||
@@ -85,8 +85,6 @@ asmlinkage long sys_ioprio_set(int which, int who, int ioprio) | |||
85 | 85 | ||
86 | break; | 86 | break; |
87 | case IOPRIO_CLASS_IDLE: | 87 | case IOPRIO_CLASS_IDLE: |
88 | if (!capable(CAP_SYS_ADMIN)) | ||
89 | return -EPERM; | ||
90 | break; | 88 | break; |
91 | case IOPRIO_CLASS_NONE: | 89 | case IOPRIO_CLASS_NONE: |
92 | if (data) | 90 | if (data) |