diff options
author | Ondrej Mosnacek <omosnace@redhat.com> | 2021-01-06 14:26:20 +0100 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2021-01-12 10:02:26 -0500 |
commit | db478cd60d55db5f1736510786cf14b4b79718d3 (patch) | |
tree | 33d4ea84fadec1e0c5728a27f83edb8a8bf01f75 /security/selinux/selinuxfs.c | |
parent | 3c797e514b927e6c85c0ae3359e85cc55422eec1 (diff) | |
download | lwn-db478cd60d55db5f1736510786cf14b4b79718d3.tar.gz lwn-db478cd60d55db5f1736510786cf14b4b79718d3.zip |
selinux: make selinuxfs_mount static
It is not referenced outside selinuxfs.c, so remove its extern header
declaration and make it static.
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/selinuxfs.c')
-rw-r--r-- | security/selinux/selinuxfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/selinuxfs.c b/security/selinux/selinuxfs.c index 4bde570d56a2..4fdfe7b67df8 100644 --- a/security/selinux/selinuxfs.c +++ b/security/selinux/selinuxfs.c @@ -2204,7 +2204,7 @@ static struct file_system_type sel_fs_type = { .kill_sb = sel_kill_sb, }; -struct vfsmount *selinuxfs_mount; +static struct vfsmount *selinuxfs_mount; struct path selinux_null; static int __init init_sel_fs(void) |