cfq-iosched: relax IOPRIO_CLASS_IDLE restrictions
[linux-2.6.git] / fs / ioprio.c
index 06b5d97..c4a1c3c 100644 (file)
@@ -85,8 +85,6 @@ asmlinkage long sys_ioprio_set(int which, int who, int ioprio)
 
                        break;
                case IOPRIO_CLASS_IDLE:
-                       if (!capable(CAP_SYS_ADMIN))
-                               return -EPERM;
                        break;
                case IOPRIO_CLASS_NONE:
                        if (data)