aboutsummaryrefslogtreecommitdiffstats
path: root/fs/io_uring.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2020-03-02 23:46:10 +0300
committerJens Axboe <axboe@kernel.dk>2020-03-02 14:03:24 -0700
commit80ad894382bf1d73eb688c29714fa10c0afcf2e7 (patch)
tree9526fe46a1ea291ee4e7cba8ffe8b50dc3b0eddc /fs/io_uring.c
parentio-wq: fix IO_WQ_WORK_NO_CANCEL cancellation (diff)
downloadlinux-dev-80ad894382bf1d73eb688c29714fa10c0afcf2e7.tar.xz
linux-dev-80ad894382bf1d73eb688c29714fa10c0afcf2e7.zip
io-wq: remove io_wq_flush and IO_WQ_WORK_INTERNAL
io_wq_flush() is buggy, during cancelation of a flush, the associated work may be passed to the caller's (i.e. io_uring) @match callback. That callback is expecting it to be embedded in struct io_kiocb. Cancelation of internal work probably doesn't make a lot of sense to begin with. As the flush helper is no longer used, just delete it and the associated work flag. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions