io_uring: remove IORING_CLOSE_FD_AND_FILE_SLOT
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 14 Jun 2022 16:51:18 +0000 (17:51 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 14 Jun 2022 16:57:40 +0000 (10:57 -0600)
commitd884b6498d2f022098502e106d5a45ab635f2e9a
tree813564b4a000dbbcb040afe4f6b93bcd45906974
parentaa165d6d2bb55f8b1bb5047fd634311681316fa2
io_uring: remove IORING_CLOSE_FD_AND_FILE_SLOT

This partially reverts a7c41b4687f5902af70cd559806990930c8a307b

Even though IORING_CLOSE_FD_AND_FILE_SLOT might save cycles for some
users, but it tries to do two things at a time and it's not clear how to
handle errors and what to return in a single result field when one part
fails and another completes well. Kill it for now.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/837c745019b3795941eee4fcfd7de697886d645b.1655224415.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c
include/uapi/linux/io_uring.h