diff options
-rw-r--r-- | fs/namespace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index 2b4635e43ae8..7fd56eeb21bf 100644 --- a/fs/namespace.c +++ b/fs/namespace.c | |||
@@ -847,6 +847,7 @@ static void expire_mount(struct vfsmount *mnt, struct list_head *mounts) | |||
847 | 847 | ||
848 | /* delete from the namespace */ | 848 | /* delete from the namespace */ |
849 | list_del_init(&mnt->mnt_list); | 849 | list_del_init(&mnt->mnt_list); |
850 | mnt->mnt_namespace = NULL; | ||
850 | detach_mnt(mnt, &old_nd); | 851 | detach_mnt(mnt, &old_nd); |
851 | spin_unlock(&vfsmount_lock); | 852 | spin_unlock(&vfsmount_lock); |
852 | path_release(&old_nd); | 853 | path_release(&old_nd); |