]> err.no Git - util-linux/commit
mount: free loop device on failure
authorSascha Sommer <ssommer@suse.de>
Tue, 21 Aug 2007 13:13:43 +0000 (15:13 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 27 Aug 2007 08:22:06 +0000 (10:22 +0200)
commit5c62eb4d06c83f21aa14244468a44c48c173493d
tree2bb3f877d707da2957bf7f838c5760184c9ef4bd
parent309fd2e79370be77c192ec272657aef9a5320ffb
mount: free loop device on failure

Testcase:
$ mount -oloop /etc/group /mnt
ioctl: LOOP_CLR_FD: Device or resource busy
mount: you must specify the filesystem type
$ losetup /dev/loop0
/dev/loop0: [0803]:1931929 (/etc/group)

Signed-off-by: Matthias Koenig <mkoenig@suse.de>
mount/fsprobe_volumeid.c
mount/lomount.c