[PATCH] sys_ioprio_set: minor do_each_thread+break fix
authorOleg Nesterov <oleg@tv-sign.ru>
Mon, 21 Aug 2006 06:33:23 +0000 (08:33 +0200)
committerJens Axboe <axboe@suse.de>
Mon, 21 Aug 2006 06:33:23 +0000 (08:33 +0200)
commit78bd4d484f81a611ef6ff02f909e576cb9aac7f2
tree9ba30e54a16d47b3cf4a9ea0123f7261d52462ab
parentef7d1b244fa6c94fb76d5f787b8629df64ea4046
[PATCH] sys_ioprio_set: minor do_each_thread+break fix

From include/linux/sched.h:

         * Careful: do_each_thread/while_each_thread is a double loop so
         *          'break' will not work as expected - use goto instead.
         */

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Jens Axboe <axboe@suse.de>
fs/ioprio.c