]> 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)
commit3868b46f96a789b045586ade14f28e1394b926ce
tree976dc5d32d2dabbc96bbbeafafd9da9dde21d1c8
parent812e197bc05cba091c5674d7cec72ba6f87a5def
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