]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - fs/io_uring.c
io_uring: get rid of manual punting in io_close
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 26 May 2020 17:34:06 +0000 (20:34 +0300)
committerJens Axboe <axboe@kernel.dk>
Tue, 26 May 2020 19:31:09 +0000 (13:31 -0600)
commit0bf0eefdab52d9f9f3a1eeda32a4fc7afe4e9219
tree04f53752230c0aa187f04140ee1b1367e85b4da4
parent0451894522108d6c72934aff6ef89023743a9ed4
io_uring: get rid of manual punting in io_close

io_close() was punting async manually to skip grabbing files. Use
REQ_F_NO_FILE_TABLE instead, and pass it through the generic path
with -EAGAIN.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c