diff options
author | Karel Zak | 2012-11-15 16:44:07 +0100 |
---|---|---|
committer | Karel Zak | 2012-11-15 16:44:07 +0100 |
commit | ae978c4d6ca376bdab6398e635be1664be370ffa (patch) | |
tree | 890bd3c6e1818b5efa028e7ff7e7bbaaf4f5922c /libmount/src/context.c | |
parent | tests: add shared subtrees to umount --recursive test (diff) | |
download | kernel-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