aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/namespace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/namespace.c b/fs/namespace.c
index 43b16af8af30..15d0328bd035 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -3011,6 +3011,7 @@ static void __init init_mount_tree(void)
3011 3011
3012 root.mnt = mnt; 3012 root.mnt = mnt;
3013 root.dentry = mnt->mnt_root; 3013 root.dentry = mnt->mnt_root;
3014 mnt->mnt_flags |= MNT_LOCKED;
3014 3015
3015 set_fs_pwd(current->fs, &root); 3016 set_fs_pwd(current->fs, &root);
3016 set_fs_root(current->fs, &root); 3017 set_fs_root(current->fs, &root);