[net-2.6] cifs: Fix compile error without CONFIG_KEYS selected.

Message ID 20081012113349.M10023@cooldavid.org
State Not Applicable, archived
Headers show

Commit Message

Guo-Fu Tseng Oct. 12, 2008, 11:41 a.m.
Hi Steve, David:

  I'm not sure where should this patch goes, since I see the error
in David's net-2.6 git, I submit it to netdev.

cifs: Fix compile error without CONFIG_KEYS selected.

fs/cifs/sess.c: In function "CIFS_SessSetup":
fs/cifs/sess.c:628: error: implicit declaration of function "key_revoke"

Signed-off-by: Guo-Fu Tseng <cooldavid@cooldavid.org>
1 files changed, 1 insertions(+), 0 deletions(-)

To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


diff --git a/fs/Kconfig b/fs/Kconfig
index abccb5d..717245f 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -1863,6 +1863,7 @@  config CIFS
 	tristate "CIFS support (advanced network filesystem, SMBFS successor)"
 	depends on INET
 	select NLS
+	select KEYS
 	  This is the client VFS module for the Common Internet File System
 	  (CIFS) protocol which is the successor to the Server Message Block