diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2015-01-03 06:39:35 -0500 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2015-04-02 21:34:19 -0400 |
commit | 5d88457eb5b86b475422dc882f089203faaeedb5 (patch) | |
tree | 19d4a52f225092dfa2875dcb073d129151e910cf /fs/pnode.h | |
parent | 411a938b5abc9cb126c41cccf5975ae464fe0f3e (diff) |
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>
Diffstat (limited to 'fs/pnode.h')
-rw-r--r-- | fs/pnode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/pnode.h b/fs/pnode.h index aa6d65df7204..af47d4bd7b31 100644 --- a/fs/pnode.h +++ b/fs/pnode.h | |||
@@ -42,6 +42,7 @@ int propagate_mnt(struct mount *, struct mountpoint *, struct mount *, | |||
42 | struct hlist_head *); | 42 | struct hlist_head *); |
43 | int propagate_umount(struct list_head *); | 43 | int propagate_umount(struct list_head *); |
44 | int propagate_mount_busy(struct mount *, int); | 44 | int propagate_mount_busy(struct mount *, int); |
45 | void propagate_mount_unlock(struct mount *); | ||
45 | void mnt_release_group_id(struct mount *); | 46 | void mnt_release_group_id(struct mount *); |
46 | int get_dominating_id(struct mount *mnt, const struct path *root); | 47 | int get_dominating_id(struct mount *mnt, const struct path *root); |
47 | unsigned int mnt_get_count(struct mount *mnt); | 48 | unsigned int mnt_get_count(struct mount *mnt); |