diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-11-24 19:54:23 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:56:59 -0500 |
commit | 4b8b21f4fe16ee15eec5c69ea5fb41b30e428e59 (patch) | |
tree | 9e023742369b09578f6510cf6cce36d7529b6854 /fs/pnode.c | |
parent | 4b2619a571f9fbb46649f968eea284103734f718 (diff) |
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.c | 2 |
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) | |||
83 | peer_mnt = NULL; | 83 | peer_mnt = NULL; |
84 | } | 84 | } |
85 | if (IS_MNT_SHARED(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(real_mount(mnt)); |
87 | 87 | ||
88 | list_del_init(&mnt->mnt_share); | 88 | list_del_init(&mnt->mnt_share); |
89 | mnt->mnt_group_id = 0; | 89 | mnt->mnt_group_id = 0; |