mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
security,selinux: remove security_add_mnt_opt()
Its last user has been removed in commit f2aedb713c
("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>
This commit is contained in:
committed by
Paul Moore
parent
5fe3757289
commit
52f982f00b
@@ -313,8 +313,6 @@ int security_sb_clone_mnt_opts(const struct super_block *oldsb,
|
||||
struct super_block *newsb,
|
||||
unsigned long kern_flags,
|
||||
unsigned long *set_kern_flags);
|
||||
int security_add_mnt_opt(const char *option, const char *val,
|
||||
int len, void **mnt_opts);
|
||||
int security_move_mount(const struct path *from_path, const struct path *to_path);
|
||||
int security_dentry_init_security(struct dentry *dentry, int mode,
|
||||
const struct qstr *name,
|
||||
@@ -711,12 +709,6 @@ static inline int security_sb_clone_mnt_opts(const struct super_block *oldsb,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline int security_add_mnt_opt(const char *option, const char *val,
|
||||
int len, void **mnt_opts)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline int security_move_mount(const struct path *from_path,
|
||||
const struct path *to_path)
|
||||
{
|
||||
|
Reference in New Issue
Block a user