diff options
author | Eric Paris <eparis@redhat.com> | 2010-04-07 15:14:15 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-04-11 22:18:28 -0400 |
commit | 353633100d8d684ac0acae4ce93fb833f92881f4 (patch) | |
tree | d45effdd09f5ef2f2c44bbcfcca8751cc5cdbd7d /security/capability.c | |
parent | c1a7368a6f0b18b10fdec87972da680ebdf03794 (diff) |
security: remove sb_check_sb hooks
Unused hook. Remove it.
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 | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/security/capability.c b/security/capability.c index 4875142b858d..a7e905d8f1d3 100644 --- a/security/capability.c +++ b/security/capability.c | |||
@@ -80,11 +80,6 @@ static int cap_sb_mount(char *dev_name, struct path *path, char *type, | |||
80 | return 0; | 80 | return 0; |
81 | } | 81 | } |
82 | 82 | ||
83 | static int cap_sb_check_sb(struct vfsmount *mnt, struct path *path) | ||
84 | { | ||
85 | return 0; | ||
86 | } | ||
87 | |||
88 | static int cap_sb_umount(struct vfsmount *mnt, int flags) | 83 | static int cap_sb_umount(struct vfsmount *mnt, int flags) |
89 | { | 84 | { |
90 | return 0; | 85 | return 0; |
@@ -941,7 +936,6 @@ void security_fixup_ops(struct security_operations *ops) | |||
941 | set_to_cap_if_null(ops, sb_show_options); | 936 | set_to_cap_if_null(ops, sb_show_options); |
942 | set_to_cap_if_null(ops, sb_statfs); | 937 | set_to_cap_if_null(ops, sb_statfs); |
943 | set_to_cap_if_null(ops, sb_mount); | 938 | set_to_cap_if_null(ops, sb_mount); |
944 | set_to_cap_if_null(ops, sb_check_sb); | ||
945 | set_to_cap_if_null(ops, sb_umount); | 939 | set_to_cap_if_null(ops, sb_umount); |
946 | set_to_cap_if_null(ops, sb_umount_close); | 940 | set_to_cap_if_null(ops, sb_umount_close); |
947 | set_to_cap_if_null(ops, sb_umount_busy); | 941 | set_to_cap_if_null(ops, sb_umount_busy); |