]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: generalize io_queue_rsrc_removal
authorBijan Mottahedeh <bijan.mottahedeh@oracle.com>
Fri, 15 Jan 2021 17:37:45 +0000 (17:37 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 1 Feb 2021 17:02:41 +0000 (10:02 -0700)
commit0a09c6918d95df66720b4c7407ac7c5f7696279b
treeeb8003b0dbf18df323bc4a839b3ab53f433ea54a
parent319b2dafc61571a47dd7dbd3a1e1fba4e6215b8d
io_uring: generalize io_queue_rsrc_removal

Generalize io_queue_rsrc_removal to handle both files and buffers.

Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Bijan Mottahedeh <bijan.mottahedeh@oracle.com>
[remove io_mapped_ubuf from rsrc tables/etc. for now]
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c