summaryrefslogtreecommitdiff
path: root/fs/pnode.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-11-25 04:54:23 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-04 07:56:59 +0400
commit4b8b21f4fe16ee15eec5c69ea5fb41b30e428e59 (patch)
tree9e023742369b09578f6510cf6cce36d7529b6854 /fs/pnode.c
parent4b2619a571f9fbb46649f968eea284103734f718 (diff)
downloadlinux-4b8b21f4fe16ee15eec5c69ea5fb41b30e428e59.tar.xz
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 ae5b1bda31ba..a824a097b523 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;