mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-30 19:15:14 +00:00
make selinux_parse_opts_str() static
This patch makes the needlessly global selinux_parse_opts_str() static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Eric Paris <eparis@redhat.com> Signed-off-by: James Morris <jmorris@namei.org>
This commit is contained in:
parent
bde4f8fa8d
commit
2e1479d95d
1 changed files with 2 additions and 1 deletions
|
@ -800,7 +800,8 @@ static void selinux_sb_clone_mnt_opts(const struct super_block *oldsb,
|
||||||
mutex_unlock(&newsbsec->lock);
|
mutex_unlock(&newsbsec->lock);
|
||||||
}
|
}
|
||||||
|
|
||||||
int selinux_parse_opts_str(char *options, struct security_mnt_opts *opts)
|
static int selinux_parse_opts_str(char *options,
|
||||||
|
struct security_mnt_opts *opts)
|
||||||
{
|
{
|
||||||
char *p;
|
char *p;
|
||||||
char *context = NULL, *defcontext = NULL;
|
char *context = NULL, *defcontext = NULL;
|
||||||
|
|
Loading…
Add table
Reference in a new issue