diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ioprio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ioprio.c b/fs/ioprio.c index 93aa5715f224..3db31038e9ab 100644 --- a/fs/ioprio.c +++ b/fs/ioprio.c | |||
@@ -111,9 +111,9 @@ asmlinkage long sys_ioprio_set(int which, int who, int ioprio) | |||
111 | continue; | 111 | continue; |
112 | ret = set_task_ioprio(p, ioprio); | 112 | ret = set_task_ioprio(p, ioprio); |
113 | if (ret) | 113 | if (ret) |
114 | break; | 114 | goto free_uid; |
115 | } while_each_thread(g, p); | 115 | } while_each_thread(g, p); |
116 | 116 | free_uid: | |
117 | if (who) | 117 | if (who) |
118 | free_uid(user); | 118 | free_uid(user); |
119 | break; | 119 | break; |