Commit 7fbeb95
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>1 parent db70e26 commit 7fbeb95
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2517 | 2517 | | |
2518 | 2518 | | |
2519 | 2519 | | |
| 2520 | + | |
| 2521 | + | |
| 2522 | + | |
2520 | 2523 | | |
2521 | 2524 | | |
2522 | 2525 | | |
| |||
2904 | 2907 | | |
2905 | 2908 | | |
2906 | 2909 | | |
| 2910 | + | |
2907 | 2911 | | |
2908 | 2912 | | |
2909 | 2913 | | |
| |||
0 commit comments