aboutsummaryrefslogtreecommitdiffstats
path: root/security/security.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2008-07-03 14:56:04 -0400
committerJames Morris <jmorris@namei.org>2008-07-14 01:02:05 -0400
commitb478a9f9889c81e88077d1495daadee64c0af541 (patch)
treed1a843fab53dd4b28b45172ba0b90417c4eefc48 /security/security.c
parent2069f457848f846cb31149c9aa29b330a6b66d1b (diff)
security: remove unused sb_get_mnt_opts hook
The sb_get_mnt_opts() hook is unused, and is superseded by the sb_show_options() hook. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Acked-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/security.c')
-rw-r--r--security/security.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/security/security.c b/security/security.c
index de74fdccde26..28b2860c1129 100644
--- a/security/security.c
+++ b/security/security.c
@@ -348,12 +348,6 @@ void security_sb_post_pivotroot(struct path *old_path, struct path *new_path)
348 security_ops->sb_post_pivotroot(old_path, new_path); 348 security_ops->sb_post_pivotroot(old_path, new_path);
349} 349}
350 350
351int security_sb_get_mnt_opts(const struct super_block *sb,
352 struct security_mnt_opts *opts)
353{
354 return security_ops->sb_get_mnt_opts(sb, opts);
355}
356
357int security_sb_set_mnt_opts(struct super_block *sb, 351int security_sb_set_mnt_opts(struct super_block *sb,
358 struct security_mnt_opts *opts) 352 struct security_mnt_opts *opts)
359{ 353{