[PATCH] cifs: fix build on !CONFIG_KEYS
From: Ingo Molnar
Date: Sun Oct 12 2008 - 07:01:52 EST
CIFS has keys infrastructure dependencies:
fs/cifs/sess.c: In function âCIFS_SessSetupâ:
fs/cifs/sess.c:628: error: implicit declaration of function âkey_revokeâ
So express that dependency in the Kconfig.
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
fs/Kconfig | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fs/Kconfig b/fs/Kconfig
index 40183d9..c0eade5 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -1876,6 +1876,7 @@ config SMB_NLS_REMOTE
config CIFS
tristate "CIFS support (advanced network filesystem, SMBFS successor)"
depends on INET
+ depends on KEYS
select NLS
help
This is the client VFS module for the Common Internet File System
--
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/