]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc50be03c95efe336281bf900ea9b743b9a8c6ff0
tree2340ea5259e6dd6b3d3612dbdc2331b11e68b04d
parent4f065223152bd229c526725c32144b5a36baf09b
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