io_uring: remove req_ref_sub_and_test()
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 11 Aug 2021 18:28:28 +0000 (19:28 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 23 Aug 2021 19:10:32 +0000 (13:10 -0600)
commit91c2f6978311afe1f49094fdd90fd6ab29b66223
treea5fa467bc69397508c168aa0029c0efde2ac5730
parent21c843d5825b949332fe58495007ca531ef6ae91
io_uring: remove req_ref_sub_and_test()

Soon, we won't need to put several references at once, remove
req_ref_sub_and_test() and @nr argument from io_put_req_deferred(),
and put the rest of the references by hand.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/1868c7554108bff9194fb5757e77be23fadf7fc0.1628705069.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c