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

Guo-Fu Tseng cooldavid at cooldavid.org
Sun Oct 12 11:41:03 GMT 2008


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 at cooldavid.org>
---
1 files changed, 1 insertions(+), 0 deletions(-)

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
 	help
 	  This is the client VFS module for the Common Internet File System
 	  (CIFS) protocol which is the successor to the Server Message Block 



More information about the samba-technical mailing list