diff options
Diffstat (limited to 'fs/namespace.c')
-rw-r--r-- | fs/namespace.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index 0e54ad6ccd8a..17ff1470b405 100644 --- a/fs/namespace.c +++ b/fs/namespace.c | |||
@@ -2444,9 +2444,7 @@ static struct mnt_namespace *dup_mnt_ns(struct mnt_namespace *mnt_ns, | |||
2444 | return ERR_CAST(new); | 2444 | return ERR_CAST(new); |
2445 | } | 2445 | } |
2446 | new_ns->root = new; | 2446 | new_ns->root = new; |
2447 | br_write_lock(&vfsmount_lock); | ||
2448 | list_add_tail(&new_ns->list, &new->mnt_list); | 2447 | list_add_tail(&new_ns->list, &new->mnt_list); |
2449 | br_write_unlock(&vfsmount_lock); | ||
2450 | 2448 | ||
2451 | /* | 2449 | /* |
2452 | * Second pass: switch the tsk->fs->* elements and mark new vfsmounts | 2450 | * Second pass: switch the tsk->fs->* elements and mark new vfsmounts |