io_uring: io_import_iovec return type cleanup
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 4 Feb 2021 13:52:06 +0000 (13:52 +0000)
committerJens Axboe <axboe@kernel.dk>
Thu, 4 Feb 2021 15:05:46 +0000 (08:05 -0700)
commit847595de1732a6e928f241929d24dde2e9ffaf15
tree78377cd047f0144671c0f462911f8ba1e1292e62
parent75c668cdd6ca05dd9c7138a5a080c0088d72cf51
io_uring: io_import_iovec return type cleanup

io_import_iovec() doesn't return IO size anymore, only error code. Make
it more apparent by returning int instead of ssize and clean up
leftovers.

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