Revert "io_uring/rsrc: disallow multi-source reg buffers" for-6.4/io_uring-2023-04-21
authorJens Axboe <axboe@kernel.dk>
Wed, 19 Apr 2023 20:16:03 +0000 (14:16 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 20 Apr 2023 12:51:48 +0000 (06:51 -0600)
commit3c85cc43c8e7855d202da184baf00c7b8eeacf71
tree38b330a47e9342c10d68f7b40da89788dbf5d0bc
parentea97f6c8558e83cb457c3b5f53351e4fd8519ab1
Revert "io_uring/rsrc: disallow multi-source reg buffers"

This reverts commit edd478269640b360c6f301f2baa04abdda563ef3.

There's really no specific need to disallow multiple sources of buffers,
and io_uring really should not be mandating this by itself. We should
be able to solely rely on GUP making these decisions.

As this also stands in the way of a cleanup where io_uring is the odd
one out, kill it.

Link: https://lore.kernel.org/all/61ded378-51a8-1dcb-b631-fda1903248a9@gmail.com/
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/rsrc.c