summaryrefslogtreecommitdiffstats
path: root/fs/debugfs/file.c
diff options
context:
space:
mode:
authorHao Xu <howeyxu@tencent.com>2022-06-11 14:22:20 +0200
committerPavel Begunkov <asml.silence@gmail.com>2022-06-13 12:37:03 +0200
commite71d7c56dd69f720169c1675f87a1d22d8167767 (patch)
tree0c8c8ccf7f4af16da4852d7d17fba351f5184be6 /fs/debugfs/file.c
parentio_uring: fix not locked access to fixed buf table (diff)
downloadlinux-e71d7c56dd69f720169c1675f87a1d22d8167767.tar.xz
linux-e71d7c56dd69f720169c1675f87a1d22d8167767.zip
io_uring: openclose: fix bug of closing wrong fixed file
Don't update ret until fixed file is closed, otherwise the file slot becomes the error code. Fixes: a7c41b4687f5 ("io_uring: let IORING_OP_FILES_UPDATE support choosing fixed file slots") Signed-off-by: Hao Xu <howeyxu@tencent.com> [pavel: 5.19 rebase] Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Diffstat (limited to 'fs/debugfs/file.c')
0 files changed, 0 insertions, 0 deletions