creds_are_invalid() needs to be exported for use by modules:
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 18 Sep 2009 18:06:47 +0000 (11:06 -0700)
committerJames Morris <jmorris@namei.org>
Wed, 23 Sep 2009 18:02:26 +0000 (11:02 -0700)
ERROR: "creds_are_invalid" [fs/cachefiles/cachefiles.ko] undefined!

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: David Howells <dhowells@redhat.com>
Cc: James Morris <jmorris@namei.org>
Cc: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Morris <jmorris@namei.org>
kernel/cred.c

index 70bda79..dd76cfe 100644 (file)
@@ -799,6 +799,7 @@ bool creds_are_invalid(const struct cred *cred)
 #endif
        return false;
 }
+EXPORT_SYMBOL(creds_are_invalid);
 
 /*
  * dump invalid credentials