mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
blktrace: fix trace mutex deadlock
commit2967acbb25upstream. 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:1f2cac107c("blktrace: fix unlocked access to init/start-stop/teardown") Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
parent
804fb1c7c6
commit
7749cab0b9
1 changed files with 2 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue