OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8854edd
)
[PATCH] umount_tree() decrements mount count on wrong dentry
author
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 1 Feb 2006 12:53:21 +0000
(07:53 -0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 8 Feb 2006 02:01:15 +0000
(21:01 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namespace.c
patch
|
blob
|
history
diff --git
a/fs/namespace.c
b/fs/namespace.c
index
a2bef5c
..
058a448
100644
(file)
--- a/
fs/namespace.c
+++ b/
fs/namespace.c
@@
-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);
}
}