Skip to content
Commit 36e4c58b authored by Jens Axboe's avatar Jens Axboe
Browse files

io-wq: invoke work cancelation with wqe->lock held



io_wqe_cancel_pending_work() grabs it internally, grab it upfront
instead. For the running work cancelation, grab the lock around it as
well.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 081b5820
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment