selinux: Make selinux_kernfs_init_security static
authorYueHaibing <yuehaibing@huawei.com>
Fri, 22 Mar 2019 14:04:00 +0000 (22:04 +0800)
committerPaul Moore <paul@paul-moore.com>
Fri, 22 Mar 2019 19:59:30 +0000 (15:59 -0400)
commitc72c4cde8095aa0e4336cb337dac25d6e347240d
tree68e593640d158216cdd30c2c2dae0430a2a84ae8
parente19dfdc83b60f196e0653d683499f7bc5548128f
selinux: Make selinux_kernfs_init_security static

Fix sparse warning:

security/selinux/hooks.c:3389:5: warning:
 symbol 'selinux_kernfs_init_security' was not declared. Should it be static?

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Ondrej Mosnacek <omosnace@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/hooks.c