diff mbox

nfsd: v4 support requires CRYPTO

Message ID 20110606112217.9648b8ff.randy.dunlap@oracle.com
State New, archived
Headers show

Commit Message

Randy Dunlap June 6, 2011, 6:22 p.m. UTC
From: Randy Dunlap <randy.dunlap@oracle.com>

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@animx.eu.org>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: stable@kernel.org
---
 fs/nfsd/Kconfig |    1 +
 1 file changed, 1 insertion(+)

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

Comments

J. Bruce Fields June 6, 2011, 10:41 p.m. UTC | #1
On Mon, Jun 06, 2011 at 11:22:17AM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@oracle.com>
> 
> nfsd V4 support uses crypto interfaces, so select CRYPTO
> to fix build errors in 2.6.39:

Thanks, applying for 3.0.--b.

> 
> ERROR: "crypto_destroy_tfm" [fs/nfsd/nfsd.ko] undefined!
> ERROR: "crypto_alloc_base" [fs/nfsd/nfsd.ko] undefined!
> 
> Reported-by: Wakko Warner <wakko@animx.eu.org>
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
> Cc: stable@kernel.org
> ---
>  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-nfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- 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).