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 70bda79fae249bb8ea901e139a8a4881961152ef..dd76cfe5f5b038dbd4fe804a5bfbd6663dd634ce 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