Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e1479d9 authored by Adrian Bunk's avatar Adrian Bunk Committed by James Morris
Browse files

make selinux_parse_opts_str() static



This patch makes the needlessly global selinux_parse_opts_str() static.

Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Acked-by: default avatarEric Paris <eparis@redhat.com>
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
parent bde4f8fa
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -800,7 +800,8 @@ static void selinux_sb_clone_mnt_opts(const struct super_block *oldsb,
	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 *context = NULL, *defcontext = NULL;