]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: fix umount file.img
authorKarel Zak <kzak@redhat.com>
Fri, 5 Oct 2012 18:35:34 +0000 (20:35 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 5 Oct 2012 18:38:49 +0000 (20:38 +0200)
commitdc3ea1335696434863c9ef4376858dcd4df6ec1b
tree4209cda001096fe26cd6a59ea156a79a48b397b2
parent98193daa8c3cd285c347a91579e1cb11944b7fc0
libmount: fix umount file.img

The umount optimization (commit 9cc03553f7b8494c7193024eec6e13b903eb2eec)
has to be disabled if the umount argument is not a directory.

Reported-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/context_umount.c