]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite2d6c53fcd3819b55d12a34e6bb9d8dad9dc0bbd
tree78377cd047f0144671c0f462911f8ba1e1292e62
parenta84afbf3156573b6736c740b7f2b220e2474d412
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