summaryrefslogtreecommitdiffstats
path: root/kernel/cred.c
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2009-09-18 20:06:47 +0200
committerJames Morris <jmorris@namei.org>2009-09-23 20:02:26 +0200
commit764db03fee50f7a3de91de80ef4a943f0d720801 (patch)
treee6d6442539ba3559d48610d89c510b122163cfe7 /kernel/cred.c
parentinclude/linux/cred.h: fix build (diff)
downloadlinux-764db03fee50f7a3de91de80ef4a943f0d720801.tar.xz
linux-764db03fee50f7a3de91de80ef4a943f0d720801.zip
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>
Diffstat (limited to '')
-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