summaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-08-10 10:55:56 -0600
committerJens Axboe <axboe@kernel.dk>2020-08-10 15:19:25 -0600
commit51a4cc112c7a42b62a91bcccdfac42e7c4561729 (patch)
treefbfda9835f2911513296c0f11ad532b3ee2de599 /include/linux/fs.h
parent9b7adba9eaec28e0e4343c96d0dbeb9578802f5f (diff)
downloadlinux-51a4cc112c7a42b62a91bcccdfac42e7c4561729.tar.gz
linux-51a4cc112c7a42b62a91bcccdfac42e7c4561729.tar.xz
io_uring: defer file table grabbing request cleanup for locked requests
If we're in the error path failing links and we have a link that has grabbed a reference to the fs_struct, then we cannot safely drop our reference to the table if we already hold the completion lock. This adds a hardirq dependency to the fs_struct->lock, which it currently doesn't have. Defer the final cleanup and free of such requests to avoid adding this dependency. Reported-by: syzbot+ef4b654b49ed7ff049bf@syzkaller.appspotmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/fs.h')
0 files changed, 0 insertions, 0 deletions