summaryrefslogtreecommitdiffstats
path: root/fs/pnode.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-11-24 19:54:23 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-03 22:56:59 -0500
commit4b8b21f4fe16ee15eec5c69ea5fb41b30e428e59 (patch)
tree9e023742369b09578f6510cf6cce36d7529b6854 /fs/pnode.c
parent4b2619a571f9fbb46649f968eea284103734f718 (diff)
downloadop-kernel-dev-4b8b21f4fe16ee15eec5c69ea5fb41b30e428e59.zip
op-kernel-dev-4b8b21f4fe16ee15eec5c69ea5fb41b30e428e59.tar.gz
vfs: spread struct mount - mount group id handling
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/pnode.c')
-rw-r--r--fs/pnode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/pnode.c b/fs/pnode.c
index ae5b1bd..a824a09 100644
--- a/fs/pnode.c
+++ b/fs/pnode.c
@@ -83,7 +83,7 @@ static int do_make_slave(struct vfsmount *mnt)
peer_mnt = NULL;
}
if (IS_MNT_SHARED(mnt) && list_empty(&mnt->mnt_share))
- mnt_release_group_id(mnt);
+ mnt_release_group_id(real_mount(mnt));
list_del_init(&mnt->mnt_share);
mnt->mnt_group_id = 0;
OpenPOWER on IntegriCloud