Skip to content

Commit

Permalink
selinux: make selinux_set_mnt_opts() static
Browse files Browse the repository at this point in the history
selinux_set_mnt_opts() can become static.

Signed-off-by: Adrian Bunk <[email protected]>
Signed-off-by: James Morris <[email protected]>
  • Loading branch information
AdrianBunk authored and James Morris committed Jan 29, 2008
1 parent 71f1cb0 commit 374ea01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions security/selinux/hooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -583,8 +583,8 @@ static int bad_option(struct superblock_security_struct *sbsec, char flag,
* Allow filesystems with binary mount data to explicitly set mount point
* labeling information.
*/
int selinux_set_mnt_opts(struct super_block *sb, char **mount_options,
int *flags, int num_opts)
static int selinux_set_mnt_opts(struct super_block *sb, char **mount_options,
int *flags, int num_opts)
{
int rc = 0, i;
struct task_security_struct *tsec = current->security;
Expand Down

0 comments on commit 374ea01

Please sign in to comment.