Skip to content
Snippets Groups Projects
Commit c2fccc1c authored by Jens Axboe's avatar Jens Axboe
Browse files

Revert "loop: cleanup partitions when detaching loop device"


This reverts commit 8761a3dc.

There are situations where the destruction path is called
with the bdev->bd_mutex already held, which then deadlocks in
loop_clr_fd(). The normal partition cleanup does a trylock()
on the mutex, but it'd be nice to have a more bullet proof
method in loop. So punt this more involved fix to the next
merge window, and just back out this buggy fix for now.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent c66bb3f0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment