diff options
author | Ondrej Mosnacek <omosnace@redhat.com> | 2021-12-06 14:24:06 +0100 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2021-12-06 13:46:24 -0500 |
commit | 52f982f00b220d097a71a23c149a1d18efc08e63 (patch) | |
tree | 4bb91b2e13ea2f991987cfa96815b1928813033d /security/security.c | |
parent | 5fe375728983b3fca6b958434a2e3f547bbbb2aa (diff) |
security,selinux: remove security_add_mnt_opt()
Its last user has been removed in commit f2aedb713c28 ("NFS: Add
fs_context support.").
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
Reviewed-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/security.c')
-rw-r--r-- | security/security.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/security/security.c b/security/security.c index edb922b8bf4a..3d4eb474f35b 100644 --- a/security/security.c +++ b/security/security.c @@ -994,14 +994,6 @@ int security_sb_clone_mnt_opts(const struct super_block *oldsb, } EXPORT_SYMBOL(security_sb_clone_mnt_opts); -int security_add_mnt_opt(const char *option, const char *val, int len, - void **mnt_opts) -{ - return call_int_hook(sb_add_mnt_opt, -EINVAL, - option, val, len, mnt_opts); -} -EXPORT_SYMBOL(security_add_mnt_opt); - int security_move_mount(const struct path *from_path, const struct path *to_path) { return call_int_hook(move_mount, 0, from_path, to_path); |