Message ID | 1457565265-15195-7-git-send-email-kamal@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/fs/namespace.c b/fs/namespace.c index df7bf37..a1ba2b4 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -2890,6 +2890,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);