diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-11-24 20:43:10 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:57:01 -0500 |
commit | 0f0afb1dcf01afc44581b3c0da251ac07dfb6e4a (patch) | |
tree | 878f721ef46398d7af7f276e2f8ba9737c6dd5dd /fs/pnode.h | |
parent | b105e270b4e9419f4b9536f6862b1b32985bc9d2 (diff) |
vfs: spread struct mount - change_mnt_propagation/set_mnt_shared
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/pnode.h')
-rw-r--r-- | fs/pnode.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/pnode.h b/fs/pnode.h index 23dfe22139da..a2ad95435c48 100644 --- a/fs/pnode.h +++ b/fs/pnode.h | |||
@@ -23,13 +23,13 @@ | |||
23 | #define CL_MAKE_SHARED 0x08 | 23 | #define CL_MAKE_SHARED 0x08 |
24 | #define CL_PRIVATE 0x10 | 24 | #define CL_PRIVATE 0x10 |
25 | 25 | ||
26 | static inline void set_mnt_shared(struct vfsmount *mnt) | 26 | static inline void set_mnt_shared(struct mount *mnt) |
27 | { | 27 | { |
28 | mnt->mnt_flags &= ~MNT_SHARED_MASK; | 28 | mnt->mnt.mnt_flags &= ~MNT_SHARED_MASK; |
29 | mnt->mnt_flags |= MNT_SHARED; | 29 | mnt->mnt.mnt_flags |= MNT_SHARED; |
30 | } | 30 | } |
31 | 31 | ||
32 | void change_mnt_propagation(struct vfsmount *, int); | 32 | void change_mnt_propagation(struct mount *, int); |
33 | int propagate_mnt(struct vfsmount *, struct dentry *, struct vfsmount *, | 33 | int propagate_mnt(struct vfsmount *, struct dentry *, struct vfsmount *, |
34 | struct list_head *); | 34 | struct list_head *); |
35 | int propagate_umount(struct list_head *); | 35 | int propagate_umount(struct list_head *); |