io_uring: deduplicate __io_complete_rw()
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 30 Jul 2020 15:43:46 +0000 (18:43 +0300)
committerJens Axboe <axboe@kernel.dk>
Thu, 30 Jul 2020 17:42:21 +0000 (11:42 -0600)
commit81b68a5ca0ab5d92229a7b76332b9ce88bd6dbd1
tree6e05ccf1d44c41a23b96b0e2450c9fe55a4f4b91
parent010e8e6be2194678f7e4bb3044c088bbee779f57
io_uring: deduplicate __io_complete_rw()

Call __io_complete_rw() in io_iopoll_queue() instead of hand coding it.

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