commit | f30ac319f1b91878cdc57a50930f15c36e0e103a | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Wed Feb 01 07:53:21 2006 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Feb 07 21:01:15 2006 -0500 |
tree | edc7cd2d72281a5ae6e80ae4fecdc5d926921db8 | |
parent | 8854eddbdb3e45b8d381ecff2937a942d0cb2067 [diff] [blame] |
[PATCH] umount_tree() decrements mount count on wrong dentry Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/namespace.c b/fs/namespace.c index a2bef5c..058a448 100644 --- a/fs/namespace.c +++ b/fs/namespace.c
@@ -494,7 +494,7 @@ 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); } }