summaryrefslogtreecommitdiff
path: root/fs/lockd
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-06-02 08:57:02 +0300
committerJens Axboe <axboe@kernel.dk>2022-06-02 08:57:02 +0300
commit9cae36a094e7e9d6e5fe8b6dcd4642138b3eb0c7 (patch)
tree404e9bcc4b445de4374e597ee702f054f56a321c /fs/lockd
parent61c1b44a21d70d4783db02198fbf68b132f4953c (diff)
downloadlinux-9cae36a094e7e9d6e5fe8b6dcd4642138b3eb0c7.tar.xz
io_uring: reinstate the inflight tracking
After some debugging, it was realized that we really do still need the old inflight tracking for any file type that has io_uring_fops assigned. If we don't, then trivial circular references will mean that we never get the ctx cleaned up and hence it'll leak. Just bring back the inflight tracking, which then also means we can eliminate the conditional dropping of the file when task_work is queued. Fixes: d5361233e9ab ("io_uring: drop the old style inflight file tracking") Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/lockd')
0 files changed, 0 insertions, 0 deletions