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)
committerJens Axboe <axboe@kernel.dk>
Wed, 9 Dec 2020 19:04:00 +0000 (12:04 -0700)
commit10fc72e43352753a08f9cf83aa5c40baec00d212
tree2340ea5259e6dd6b3d3612dbdc2331b11e68b04d
parent1a38ffc9cbca361cc274d6e234f5ef8922f0b6d9
fs/io_uring Don't use the return value from import_iovec().

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>
fs/io_uring.c