]> git.ipfire.org Git - thirdparty/util-linux.git/commit
umount: read mountinfo if --detach-loop given
authorRobert Schiele <rschiele@gmail.com>
Thu, 18 Sep 2014 06:09:59 +0000 (08:09 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 22 Sep 2014 10:53:57 +0000 (12:53 +0200)
commit4fcb0f3fb806c9f37eebbb7fec39d993ac69ff99
tree421b46a548e123493c7f4d1294548b87eff8d09a
parentd106c83b190cce62a1684bff230f67f06edf3d0a
umount: read mountinfo if --detach-loop given

Don't use the optimization not to read mountinfo from commit
6a52473ecd877227f6f7da2b95da0b51593ffec1 if --detach-loop was given
since we need the name of the loop device in that case and with the
optimization this is not present and thus the detach operation
obviously fails.

Signed-off-by: Robert Schiele <rschiele@gmail.com>
libmount/src/context_umount.c