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)
commit7fbeb95d0f68e21e6ca61284f1ac681630976947
tree0c91a7ee827647a86f9131bf3ac50c27cdba11ef
parentdb70e26e33eef1b148ca1c9f50de92203ec7e82e
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