summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorKarel Zak2008-07-02 14:26:51 +0200
committerKarel Zak2008-07-02 15:01:28 +0200
commite84feaecfdf44a33ef9eccc5a56c8a6999466140 (patch)
tree29d8c5744a3dbd7129c8f5518b08cd43409b2214 /README
parentselinux: is_selinux_enabled() returns 0, 1 and -1 (diff)
downloadkernel-qcow2-util-linux-e84feaecfdf44a33ef9eccc5a56c8a6999466140.tar.gz
kernel-qcow2-util-linux-e84feaecfdf44a33ef9eccc5a56c8a6999466140.tar.xz
kernel-qcow2-util-linux-e84feaecfdf44a33ef9eccc5a56c8a6999466140.zip
umount: improve "-d" option for autoclear loops
The new loop auto-destruct feature detaches automatically loop devices when no longer used. This means they are detached with the umount() call. But when we call umount with -d, del_loop() is called and fails because the ioctl() returns ENXIO. We have to check for autoclear loop devices rather than blindly call del_loop(). Reported-by: Matthias Koenig <mkoenig@suse.de> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions