summaryrefslogtreecommitdiffstats
path: root/fs/pnode.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-11-25 07:05:37 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-04 04:57:11 +0100
commitfc7be130c7e91cf693d4bc2d9b11f08a5a4893d0 (patch)
tree8df38871ffccd0e977702d61691967c184fabecc /fs/pnode.c
parentvfs: move the rest of int fields to struct mount (diff)
downloadlinux-fc7be130c7e91cf693d4bc2d9b11f08a5a4893d0.tar.xz
linux-fc7be130c7e91cf693d4bc2d9b11f08a5a4893d0.zip
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)
if (peer_mnt == mnt)
peer_mnt = NULL;
}
- if (IS_MNT_SHARED(&mnt->mnt) && list_empty(&mnt->mnt_share))
+ if (IS_MNT_SHARED(mnt) && list_empty(&mnt->mnt_share))
mnt_release_group_id(mnt);
list_del_init(&mnt->mnt_share);
@@ -107,7 +107,7 @@ static int do_make_slave(struct mount *mnt)
}
}
mnt->mnt_master = master;
- CLEAR_MNT_SHARED(&mnt->mnt);
+ CLEAR_MNT_SHARED(mnt);
return 0;
}
@@ -199,7 +199,7 @@ static struct mount *get_source(struct mount *dest,
/* slave of the earlier, then */
*type = CL_SLAVE;
/* beginning of peer group among the slaves? */
- if (IS_MNT_SHARED(&dest->mnt))
+ if (IS_MNT_SHARED(dest))
*type |= CL_MAKE_SHARED;
return last_src;
}