git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] namespace.c: fix mnt_namespace zeroing for expired mounts
[safe/jmp/linux-2.6]
/
fs
/
namespace.c
diff --git
a/fs/namespace.c
b/fs/namespace.c
index
2b4635e
..
7fd56ee
100644
(file)
--- a/
fs/namespace.c
+++ b/
fs/namespace.c
@@
-847,6
+847,7
@@
static void expire_mount(struct vfsmount *mnt, struct list_head *mounts)
/* delete from the namespace */
list_del_init(&mnt->mnt_list);
+ mnt->mnt_namespace = NULL;
detach_mnt(mnt, &old_nd);
spin_unlock(&vfsmount_lock);
path_release(&old_nd);