io_uring: make io_read/write return an integer
authorJens Axboe <axboe@kernel.dk>
Tue, 12 Mar 2019 16:18:47 +0000 (10:18 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 15 Mar 2019 04:23:58 +0000 (22:23 -0600)
commite0c5c576d5074b5bb7b1b4b59848c25ceb521331
tree4bac545fd9dcb8b368584c9fe8b49bef535ae294
parente65ef56db4945fb18a0d522e056c02ddf939e644
io_uring: make io_read/write return an integer

The callers all convert to an integer, and we only return 0/-ERROR
anyway.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c