diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-01-28 17:11:52 -0500 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2008-01-29 16:17:44 -0500 |
commit | 374ea019cacfa8b69ae49eea993b74cb5968970b (patch) | |
tree | 822718af14d91f3beabbde3e9d5758c055e3bef8 | |
parent | 71f1cb05f773661b6fa98c7a635d7a395cd9c55d (diff) |
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>
-rw-r--r-- | security/selinux/hooks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 81bfcf114484..be6de0b8734f 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c | |||
@@ -583,8 +583,8 @@ static int bad_option(struct superblock_security_struct *sbsec, char flag, | |||
583 | * Allow filesystems with binary mount data to explicitly set mount point | 583 | * Allow filesystems with binary mount data to explicitly set mount point |
584 | * labeling information. | 584 | * labeling information. |
585 | */ | 585 | */ |
586 | int selinux_set_mnt_opts(struct super_block *sb, char **mount_options, | 586 | static int selinux_set_mnt_opts(struct super_block *sb, char **mount_options, |
587 | int *flags, int num_opts) | 587 | int *flags, int num_opts) |
588 | { | 588 | { |
589 | int rc = 0, i; | 589 | int rc = 0, i; |
590 | struct task_security_struct *tsec = current->security; | 590 | struct task_security_struct *tsec = current->security; |