summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2011-08-17 03:05:21 +0200
committerJames Morris <jmorris@namei.org>2011-09-10 01:56:25 +0200
commit3417d8d5d4d584bd73e2f6265f7a06b51e4a70a1 (patch)
tree21a68483935288933c61e6d9271dc695ec967371
parentintegrity: sparse fix: move iint_initialized to integrity.h (diff)
downloadlinux-3417d8d5d4d584bd73e2f6265f7a06b51e4a70a1.tar.xz
linux-3417d8d5d4d584bd73e2f6265f7a06b51e4a70a1.zip
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>
-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;