]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/pnode.h
mnt: On an unmount propagate clearing of MNT_LOCKED
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 3 Jan 2015 11:39:35 +0000 (05:39 -0600)
committerEric W. Biederman <ebiederm@xmission.com>
Fri, 3 Apr 2015 01:34:19 +0000 (20:34 -0500)
commit5d88457eb5b86b475422dc882f089203faaeedb5
tree19d4a52f225092dfa2875dcb073d129151e910cf
parent411a938b5abc9cb126c41cccf5975ae464fe0f3e
mnt: On an unmount propagate clearing of MNT_LOCKED

A prerequisite of calling umount_tree is that the point where the tree
is mounted at is valid to unmount.

If we are propagating the effect of the unmount clear MNT_LOCKED in
every instance where the same filesystem is mounted on the same
mountpoint in the mount tree, as we know (by virtue of the fact
that umount_tree was called) that it is safe to reveal what
is at that mountpoint.

Cc: stable@vger.kernel.org
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
fs/namespace.c
fs/pnode.c
fs/pnode.h