summaryrefslogtreecommitdiff
path: root/fs/d_path.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2020-07-30 18:43:47 +0300
committerJens Axboe <axboe@kernel.dk>2020-07-30 11:42:21 -0600
commitb2bd1cf99f3e7c8fbf12ea07af2c6998e1209e25 (patch)
treedc16e00563bdc1880c78dddfa067d78e10e11cbe /fs/d_path.c
parent81b68a5ca0ab5d92229a7b76332b9ce88bd6dbd1 (diff)
downloadlwn-b2bd1cf99f3e7c8fbf12ea07af2c6998e1209e25.tar.gz
lwn-b2bd1cf99f3e7c8fbf12ea07af2c6998e1209e25.zip
io_uring: fix racy overflow count reporting
All ->cq_overflow modifications should be under completion_lock, otherwise it can report a wrong number to the userspace. Fix it in io_uring_cancel_files(). Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/d_path.c')
0 files changed, 0 insertions, 0 deletions