diff options
author | Eric Paris <eparis@redhat.com> | 2010-04-07 19:14:45 (GMT) |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-04-12 02:18:32 (GMT) |
commit | 91a9420f5826db482030c21eca8c507271bbc441 (patch) | |
tree | e5e400622884c8c0cd373c51ee4a3822c853aaa5 /security/capability.c | |
parent | 3db291017753e539af64c8bab373785f34e43ed2 (diff) | |
download | linux-91a9420f5826db482030c21eca8c507271bbc441.tar.xz |
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 'security/capability.c')
-rw-r--r-- | security/capability.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/security/capability.c b/security/capability.c index 38752dd..b64b501 100644 --- a/security/capability.c +++ b/security/capability.c @@ -90,10 +90,6 @@ static int cap_sb_pivotroot(struct path *old_path, struct path *new_path) return 0; } -static void cap_sb_post_pivotroot(struct path *old_path, struct path *new_path) -{ -} - static int cap_sb_set_mnt_opts(struct super_block *sb, struct security_mnt_opts *opts) { @@ -921,7 +917,6 @@ void security_fixup_ops(struct security_operations *ops) set_to_cap_if_null(ops, sb_mount); set_to_cap_if_null(ops, sb_umount); set_to_cap_if_null(ops, sb_pivotroot); - set_to_cap_if_null(ops, sb_post_pivotroot); set_to_cap_if_null(ops, sb_set_mnt_opts); set_to_cap_if_null(ops, sb_clone_mnt_opts); set_to_cap_if_null(ops, sb_parse_opts_str); |