aboutsummaryrefslogtreecommitdiffstats
path: root/fs/pnode.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-11-25 01:05:37 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-03 22:57:11 -0500
commitfc7be130c7e91cf693d4bc2d9b11f08a5a4893d0 (patch)
tree8df38871ffccd0e977702d61691967c184fabecc /fs/pnode.c
parent863d684f946eb240c7dd57d265d88315950ca5cc (diff)
vfs: switch pnode.h macros to struct mount *
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/pnode.c')
-rw-r--r--fs/pnode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/pnode.c b/fs/pnode.c
index a40abf20f35e..ab5fa9e1a79a 100644
--- a/fs/pnode.c
+++ b/fs/pnode.c
@@ -82,7 +82,7 @@ static int do_make_slave(struct mount *mnt)
82 if (peer_mnt == mnt) 82 if (peer_mnt == mnt)
83 peer_mnt = NULL; 83 peer_mnt = NULL;
84 } 84 }
85 if (IS_MNT_SHARED(&mnt->mnt) && list_empty(&mnt->mnt_share)) 85 if (IS_MNT_SHARED(mnt) && list_empty(&mnt->mnt_share))
86 mnt_release_group_id(mnt); 86 mnt_release_group_id(mnt);
87 87
88 list_del_init(&mnt->mnt_share); 88 list_del_init(&mnt->mnt_share);
@@ -107,7 +107,7 @@ static int do_make_slave(struct mount *mnt)
107 } 107 }
108 } 108 }
109 mnt->mnt_master = master; 109 mnt->mnt_master = master;
110 CLEAR_MNT_SHARED(&mnt->mnt); 110 CLEAR_MNT_SHARED(mnt);
111 return 0; 111 return 0;
112} 112}
113 113
@@ -199,7 +199,7 @@ static struct mount *get_source(struct mount *dest,
199 /* slave of the earlier, then */ 199 /* slave of the earlier, then */
200 *type = CL_SLAVE; 200 *type = CL_SLAVE;
201 /* beginning of peer group among the slaves? */ 201 /* beginning of peer group among the slaves? */
202 if (IS_MNT_SHARED(&dest->mnt)) 202 if (IS_MNT_SHARED(dest))
203 *type |= CL_MAKE_SHARED; 203 *type |= CL_MAKE_SHARED;
204 return last_src; 204 return last_src;
205} 205}