Comment 48 for bug 548546

Revision history for this message
Phillip Susi (psusi) wrote :

The patch doesn't quite fix the problem because it only generates the event when bdev != NULL, but the kernel auto detach machinery passes NULL for the bdev in loop.c:1525. In util-linux mount.c:1270 checks if the kernel version is >= 2.6.37 and if it is, enables SETLOOP_AUTOCLEAR which causes the kernel to auto detach instead of umount.