fs/io_uring Don't use the return value from import_iovec().
authorDavid Laight <David.Laight@ACULAB.COM>
Sat, 7 Nov 2020 13:16:25 +0000 (13:16 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Sep 2021 11:40:35 +0000 (13:40 +0200)
commit6930a2a5be5cbb0c202fcfa2773c95bd10a19197
tree1bb6d4bf77f684688a0b90b9b7092d8973ce3ec6
parent2c304c65defd4aaf2e4e0c8226c6e03cc09a7355
fs/io_uring Don't use the return value from import_iovec().

[ Upstream commit 10fc72e43352753a08f9cf83aa5c40baec00d212 ]

This is the only code that relies on import_iovec() returning
iter.count on success.
This allows a better interface to import_iovec().

Signed-off-by: David Laight <david.laight@aculab.com>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/io_uring.c