VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
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 parent: 4b2619a571f9fbb46649f968eea284103734f718
Commit Summary:
vfs: spread struct mount - mount group id handling
Diffstat:
1 file changed, 1 insertion, 1 deletion
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;