mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
vfs: spread struct mount - mount group id handling
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
4b2619a571
commit
4b8b21f4fe
3 changed files with 20 additions and 20 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue