[PATCH -mmotm] cred: export creds_are_invalid

From: Randy Dunlap
Date: Fri Sep 18 2009 - 12:51:24 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

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@xxxxxxxxxx>
Cc: David Howells <dhowells@xxxxxxxxxx>
---
kernel/cred.c | 1 +
1 file changed, 1 insertion(+)

--- mmotm-2009-0917-1800.orig/kernel/cred.c
+++ mmotm-2009-0917-1800/kernel/cred.c
@@ -799,6 +799,7 @@ bool creds_are_invalid(const struct cred
#endif
return false;
}
+EXPORT_SYMBOL(creds_are_invalid);

/*
* dump invalid credentials



---
~Randy
LPC 2009, Sept. 23-25, Portland, Oregon
http://linuxplumbersconf.org/2009/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/