]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: make OP_CLOSE consistent with direct open
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 24 Sep 2021 19:04:29 +0000 (20:04 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 24 Sep 2021 20:07:54 +0000 (14:07 -0600)
commitd247f468d1ebb5eb62bbd7e198591e4a4d99ef45
tree976dc5d32d2dabbc96bbbeafafd9da9dde21d1c8
parent788d003d85e230d28f7f5050d6a1ed50925deff6
io_uring: make OP_CLOSE consistent with direct open

From recently open/accept are now able to manipulate fixed file table,
but it's inconsistent that close can't. Close the gap, keep API same as
with open/accept, i.e. via sqe->file_slot.

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