summaryrefslogtreecommitdiff
path: root/fs/pnode.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-11-25 00:50:41 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-03 22:57:10 -0500
commit15169fe784a9846b24cdb0840329d41aebc23249 (patch)
treeef9e843dcd333204fd7fdca6d21fe96d0647da80 /fs/pnode.c
parent143c8c91cee7efdd732ec5f61b3471fc46192f20 (diff)
vfs: mnt_id/mnt_group_id moved
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/pnode.c')
-rw-r--r--fs/pnode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/pnode.c b/fs/pnode.c
index cec329822a16..001c8b0df379 100644
--- a/fs/pnode.c
+++ b/fs/pnode.c
@@ -58,7 +58,7 @@ int get_dominating_id(struct mount *mnt, const struct path *root)
for (m = mnt->mnt_master; m != NULL; m = m->mnt_master) {
struct mount *d = get_peer_under_root(m, mnt->mnt_ns, root);
if (d)
- return d->mnt.mnt_group_id;
+ return d->mnt_group_id;
}
return 0;
@@ -86,7 +86,7 @@ static int do_make_slave(struct mount *mnt)
mnt_release_group_id(mnt);
list_del_init(&mnt->mnt_share);
- mnt->mnt.mnt_group_id = 0;
+ mnt->mnt_group_id = 0;
if (peer_mnt)
master = peer_mnt;