summaryrefslogtreecommitdiffstats
path: root/fs/pnode.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-11-25 02:43:10 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-04 04:57:01 +0100
commit0f0afb1dcf01afc44581b3c0da251ac07dfb6e4a (patch)
tree878f721ef46398d7af7f276e2f8ba9737c6dd5dd /fs/pnode.h
parentvfs: spread struct mount - alloc_vfsmnt/free_vfsmnt/mnt_alloc_id/mnt_free_id (diff)
downloadlinux-0f0afb1dcf01afc44581b3c0da251ac07dfb6e4a.tar.xz
linux-0f0afb1dcf01afc44581b3c0da251ac07dfb6e4a.zip
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.h8
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 @@
#define CL_MAKE_SHARED 0x08
#define CL_PRIVATE 0x10
-static inline void set_mnt_shared(struct vfsmount *mnt)
+static inline void set_mnt_shared(struct mount *mnt)
{
- mnt->mnt_flags &= ~MNT_SHARED_MASK;
- mnt->mnt_flags |= MNT_SHARED;
+ mnt->mnt.mnt_flags &= ~MNT_SHARED_MASK;
+ mnt->mnt.mnt_flags |= MNT_SHARED;
}
-void change_mnt_propagation(struct vfsmount *, int);
+void change_mnt_propagation(struct mount *, int);
int propagate_mnt(struct vfsmount *, struct dentry *, struct vfsmount *,
struct list_head *);
int propagate_umount(struct list_head *);