Commit f30ac319 authored by Al Viro's avatar Al Viro

[PATCH] umount_tree() decrements mount count on wrong dentry

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 8854eddb
...@@ -494,7 +494,7 @@ void umount_tree(struct vfsmount *mnt, int propagate, struct list_head *kill) ...@@ -494,7 +494,7 @@ void umount_tree(struct vfsmount *mnt, int propagate, struct list_head *kill)
p->mnt_namespace = NULL; p->mnt_namespace = NULL;
list_del_init(&p->mnt_child); list_del_init(&p->mnt_child);
if (p->mnt_parent != p) if (p->mnt_parent != p)
mnt->mnt_mountpoint->d_mounted--; p->mnt_mountpoint->d_mounted--;
change_mnt_propagation(p, MS_PRIVATE); change_mnt_propagation(p, MS_PRIVATE);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment