summaryrefslogtreecommitdiff
path: root/security/apparmor
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2011-08-17 05:05:21 +0400
committerJames Morris <jmorris@namei.org>2011-09-10 03:56:25 +0400
commit3417d8d5d4d584bd73e2f6265f7a06b51e4a70a1 (patch)
tree21a68483935288933c61e6d9271dc695ec967371 /security/apparmor
parent4892722e06694fda1928bac4aa5af5505bd26a4c (diff)
downloadlinux-3417d8d5d4d584bd73e2f6265f7a06b51e4a70a1.tar.xz
apparmor: sparse fix: make aa_create_aafs static
Sparse fix: make aa_create_aafs static. Signed-off-by: James Morris <jmorris@namei.org> Acked-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor')
-rw-r--r--security/apparmor/apparmorfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/apparmorfs.c b/security/apparmor/apparmorfs.c
index 0848292982a2..69ddb47787b2 100644
--- a/security/apparmor/apparmorfs.c
+++ b/security/apparmor/apparmorfs.c
@@ -200,7 +200,7 @@ void __init aa_destroy_aafs(void)
*
* Returns: error on failure
*/
-int __init aa_create_aafs(void)
+static int __init aa_create_aafs(void)
{
int error;