]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: Fix __io_uring_register() false success
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 26 May 2019 09:35:47 +0000 (12:35 +0300)
committerJens Axboe <axboe@kernel.dk>
Sun, 26 May 2019 15:25:06 +0000 (09:25 -0600)
commit2a8d84451b6b9e33f57e95b3dec2a9979b5efc92
treed516fbc087dd136fe61b3b29d83a658bd8ef828a
parentf39919f1cd438fc66813ac130098aac5c4f6c627
io_uring: Fix __io_uring_register() false success

If io_copy_iov() fails, it will break the loop and report success,
albeit partially completed operation.

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