Skip to content
Commit 2967acbb authored by Jens Axboe's avatar Jens Axboe
Browse files

blktrace: fix trace mutex deadlock



A previous commit changed the locking around registration/cleanup,
but direct callers of blk_trace_remove() were missed. This means
that if we hit the error path in setup, we will deadlock on
attempting to re-acquire the queue trace mutex.

Fixes: 1f2cac10 ("blktrace: fix unlocked access to init/start-stop/teardown")
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 6c4ca1e3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment