]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/namespace.c
security: remove dead hook sb_post_pivotroot
[net-next-2.6.git] / fs / namespace.c
index 7a0c9ce62beda725313d57d5e56b4a1fe2d7f22e..c36785a2fd86973a9569d39910a81056b89306c9 100644 (file)
@@ -2265,7 +2265,6 @@ SYSCALL_DEFINE2(pivot_root, const char __user *, new_root,
        touch_mnt_namespace(current->nsproxy->mnt_ns);
        spin_unlock(&vfsmount_lock);
        chroot_fs_refs(&root, &new);
-       security_sb_post_pivotroot(&root, &new);
        error = 0;
        path_put(&root_parent);
        path_put(&parent_path);