Message ID | 1456482100-4667-44-git-send-email-luis.henriques@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/fs/namespace.c b/fs/namespace.c index b50d8daa7cb0..506a9921ea46 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -2921,6 +2921,7 @@ static void __init init_mount_tree(void) root.mnt = mnt; root.dentry = mnt->mnt_root; + mnt->mnt_flags |= MNT_LOCKED; set_fs_pwd(current->fs, &root); set_fs_root(current->fs, &root);