Skip to content

Commit 374ea01

Browse files
AdrianBunkxjamesmorris
authored andcommitted
selinux: make selinux_set_mnt_opts() static
selinux_set_mnt_opts() can become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: James Morris <jmorris@namei.org>
1 parent 71f1cb0 commit 374ea01

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎security/selinux/hooks.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -583,8 +583,8 @@ static int bad_option(struct superblock_security_struct *sbsec, char flag,
583583
* Allow filesystems with binary mount data to explicitly set mount point
584584
* labeling information.
585585
*/
586-
int selinux_set_mnt_opts(struct super_block *sb, char **mount_options,
587-
int *flags, int num_opts)
586+
static int selinux_set_mnt_opts(struct super_block *sb, char **mount_options,
587+
int *flags, int num_opts)
588588
{
589589
int rc = 0, i;
590590
struct task_security_struct *tsec = current->security;

0 commit comments

Comments
 (0)