io_uring: remove work flags after cleanup
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 1 Feb 2021 18:59:54 +0000 (18:59 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 1 Feb 2021 20:09:21 +0000 (13:09 -0700)
commite86d004729ae9ce7d16ff3fad3708e1601eec0d2
tree4c5e641dee89ac243ace6a359af19d05aa971fc8
parent34e08fed2c1cc67df88d85fedde1d05fec62e5ca
io_uring: remove work flags after cleanup

Shouldn't be a problem now, but it's better to clean
REQ_F_WORK_INITIALIZED and work->flags only after relevant resources are
killed, so cancellation see them.

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