[PATCH] Loopback device partition cleanup on detach

Bug #899717 reported by Phillip Susi
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

When you create partitions on a loop device, then detach the loop device, the partitions are left hanging around. This patch fixes the loop driver to clean them up. It has been forwarded upstream post 3.2-rc2.

Tags: patch cscc
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 899717

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Phillip Susi (psusi)
Changed in linux (Ubuntu):
status: Incomplete → New
status: New → Confirmed
Phillip Susi (psusi)
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Phillip Susi (psusi) wrote :

Updated patch to resolve mutex deadlock.

Revision history for this message
Scott Moser (smoser) wrote :

See duplicate bug 1136781 for easy recreate instructions.

Revision history for this message
Mikowhy Hondzynsky (mikhon) wrote :

If you are creating loop device with partitions you should use losetup -P. Then the partitions will be removed with the device detach.

Brad Figg (brad-figg)
tags: added: cscc
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.