[PATCH] nfsd: v4 support requires CRYPTO

From: Randy Dunlap
Date: Mon Jun 06 2011 - 14:23:24 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

nfsd V4 support uses crypto interfaces, so select CRYPTO
to fix build errors in 2.6.39:

ERROR: "crypto_destroy_tfm" [fs/nfsd/nfsd.ko] undefined!
ERROR: "crypto_alloc_base" [fs/nfsd/nfsd.ko] undefined!

Reported-by: Wakko Warner <wakko@xxxxxxxxxxxx>
Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
Cc: stable@xxxxxxxxxx
---
fs/nfsd/Kconfig | 1 +
1 file changed, 1 insertion(+)

--- linux-2.6.39.orig/fs/nfsd/Kconfig
+++ linux-2.6.39/fs/nfsd/Kconfig
@@ -82,6 +82,7 @@ config NFSD_V4
select NFSD_V3
select FS_POSIX_ACL
select SUNRPC_GSS
+ select CRYPTO
help
This option enables support in your system's NFS server for
version 4 of the NFS protocol (RFC 3530).
--
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/