aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2010-04-07 15:14:45 -0400
committerJames Morris <jmorris@namei.org>2010-04-11 22:18:32 -0400
commit91a9420f5826db482030c21eca8c507271bbc441 (patch)
treee5e400622884c8c0cd373c51ee4a3822c853aaa5 /fs
parent3db291017753e539af64c8bab373785f34e43ed2 (diff)
security: remove dead hook sb_post_pivotroot
Unused hook. Remove. Signed-off-by: Eric Paris <eparis@redhat.com> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/namespace.c1
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);