summaryrefslogtreecommitdiffstats
path: root/libmount/src/context.c
diff options
context:
space:
mode:
authorKarel Zak2012-11-15 16:44:07 +0100
committerKarel Zak2012-11-15 16:44:07 +0100
commitae978c4d6ca376bdab6398e635be1664be370ffa (patch)
tree890bd3c6e1818b5efa028e7ff7e7bbaaf4f5922c /libmount/src/context.c
parenttests: add shared subtrees to umount --recursive test (diff)
downloadkernel-qcow2-util-linux-ae978c4d6ca376bdab6398e635be1664be370ffa.tar.gz
kernel-qcow2-util-linux-ae978c4d6ca376bdab6398e635be1664be370ffa.tar.xz
kernel-qcow2-util-linux-ae978c4d6ca376bdab6398e635be1664be370ffa.zip
umount: (recursive) don't call umount(2) for already unmounted targets
In the umount --recursive we follow entries from mountinfo, but the entries maybe already obsolete. Especially if the hierarchy of the mountpoints contains shared subtrees and umount(2) for one entry may generate umount for some other entry too. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/context.c')
0 files changed, 0 insertions, 0 deletions