]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: add missing io_req_cancelled()
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 15 Feb 2020 22:01:18 +0000 (01:01 +0300)
committerJens Axboe <axboe@kernel.dk>
Sun, 16 Feb 2020 17:09:37 +0000 (10:09 -0700)
commitb75e7b2c4eb88f3d94cc4a2554838107c8ed3870
tree0c91a7ee827647a86f9131bf3ac50c27cdba11ef
parent5175158e1ac03546b0eb5962689deed5bbaff039
io_uring: add missing io_req_cancelled()

fallocate_finish() is missing cancellation check. Add it.
It's safe to do that, as only flags setup and sqe fields copy are done
before it gets into __io_fallocate().

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