summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2009-09-18 11:06:47 -0700
committerJames Morris <jmorris@namei.org>2009-09-23 11:02:26 -0700
commit764db03fee50f7a3de91de80ef4a943f0d720801 (patch)
treee6d6442539ba3559d48610d89c510b122163cfe7
parent74908a0009eb36054190ab80deb9671014efed96 (diff)
creds_are_invalid() needs to be exported for use by modules:
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>
-rw-r--r--kernel/cred.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/cred.c b/kernel/cred.c
index 70bda79fae24..dd76cfe5f5b0 100644
--- a/kernel/cred.c
+++ b/kernel/cred.c
@@ -799,6 +799,7 @@ bool creds_are_invalid(const struct cred *cred)
#endif
return false;
}
+EXPORT_SYMBOL(creds_are_invalid);
/*
* dump invalid credentials