summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/sysfs.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2020-12-06 22:22:45 +0000
committerJens Axboe <axboe@kernel.dk>2020-12-09 12:04:02 -0700
commit59850d226e4907a6f37c1d2fe5ba97546a8691a4 (patch)
treeab4b0f5b0a36d9ea12090bad43cb6ee973c612bb /fs/f2fs/sysfs.c
parent634578f800652035debba3098d8ab0d21af7c7a5 (diff)
downloadlinux-59850d226e4907a6f37c1d2fe5ba97546a8691a4.tar.gz
linux-59850d226e4907a6f37c1d2fe5ba97546a8691a4.tar.bz2
linux-59850d226e4907a6f37c1d2fe5ba97546a8691a4.zip
io_uring: fix io_cqring_events()'s noflush
Checking !list_empty(&ctx->cq_overflow_list) around noflush in io_cqring_events() is racy, because if it fails but a request overflowed just after that, io_cqring_overflow_flush() still will be called. Remove the second check, it shouldn't be a problem for performance, because there is cq_check_overflow bit check just above. Cc: <stable@vger.kernel.org> # 5.5+ Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/f2fs/sysfs.c')
0 files changed, 0 insertions, 0 deletions