summaryrefslogtreecommitdiffstats
path: root/block/bounce.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2021-04-08 11:46:12 +0200
committerJens Axboe <axboe@kernel.dk>2021-04-08 13:43:53 -0600
commit40c7fd3fdfba97a18724a0b96d132335fd419e98 (patch)
treec7e5ed9dc17a58d49a9f5444c58bd311765d8a40 /block/bounce.c
parent3212135a718b06be38811f2d9a320ae842e76409 (diff)
downloadlinux-stable-40c7fd3fdfba97a18724a0b96d132335fd419e98.tar.gz
linux-stable-40c7fd3fdfba97a18724a0b96d132335fd419e98.tar.bz2
linux-stable-40c7fd3fdfba97a18724a0b96d132335fd419e98.zip
block: Fix sys_ioprio_set(.which=IOPRIO_WHO_PGRP) task iteration
do_each_pid_thread() { } while_each_pid_thread() is a double loop and thus break doesn't work as expected. Also, it should be used under tasklist_lock because otherwise we can race against change_pid() for PGID/SID. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/YG7Q5C4Rb5dx5GFx@hirez.programming.kicks-ass.net Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bounce.c')
0 files changed, 0 insertions, 0 deletions