apparmor: sparse fix: make aa_create_aafs static
authorJames Morris <jmorris@namei.org>
Wed, 17 Aug 2011 01:05:21 +0000 (11:05 +1000)
committerJames Morris <jmorris@namei.org>
Fri, 9 Sep 2011 23:56:25 +0000 (16:56 -0700)
Sparse fix: make aa_create_aafs static.

Signed-off-by: James Morris <jmorris@namei.org>
Acked-by: John Johansen <john.johansen@canonical.com>
security/apparmor/apparmorfs.c

index 0848292982a2315f9e491728afe2714ad767bca0..69ddb47787b2801dc0fb2742ce20dcd1716eaa90 100644 (file)
@@ -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;