You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[PATCH] umount_tree() decrements mount count on wrong dentry
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
+1
-1
@@ -494,7 +494,7 @@ void umount_tree(struct vfsmount *mnt, int propagate, struct list_head *kill)
|
||||
p->mnt_namespace = NULL;
|
||||
list_del_init(&p->mnt_child);
|
||||
if (p->mnt_parent != p)
|
||||
mnt->mnt_mountpoint->d_mounted--;
|
||||
p->mnt_mountpoint->d_mounted--;
|
||||
change_mnt_propagation(p, MS_PRIVATE);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user