diff options
Diffstat (limited to 'fs/namespace.c')
-rw-r--r-- | fs/namespace.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index 7a0c9ce62bed..c36785a2fd86 100644 --- a/fs/namespace.c +++ b/fs/namespace.c | |||
@@ -2265,7 +2265,6 @@ SYSCALL_DEFINE2(pivot_root, const char __user *, new_root, | |||
2265 | touch_mnt_namespace(current->nsproxy->mnt_ns); | 2265 | touch_mnt_namespace(current->nsproxy->mnt_ns); |
2266 | spin_unlock(&vfsmount_lock); | 2266 | spin_unlock(&vfsmount_lock); |
2267 | chroot_fs_refs(&root, &new); | 2267 | chroot_fs_refs(&root, &new); |
2268 | security_sb_post_pivotroot(&root, &new); | ||
2269 | error = 0; | 2268 | error = 0; |
2270 | path_put(&root_parent); | 2269 | path_put(&root_parent); |
2271 | path_put(&parent_path); | 2270 | path_put(&parent_path); |