From: Christoph Hellwig Date: Wed, 13 Nov 2013 16:50:33 +0000 (-0800) Subject: nfs: fix pnfs Kconfig defaults X-Git-Tag: Ubuntu-5.2.0-15.16~14514^2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=8c2fabc6542d9d0f8b16bd1045c2eda59bdcde13;p=mirror_ubuntu-eoan-kernel.git nfs: fix pnfs Kconfig defaults Defaulting to m seem to prevent building the pnfs layout modules into the kernel. Default to the value of CONFIG_NFS_V4 make sure they are built in for built-in NFSv4 support and modular for a modular NFSv4. Signed-off-by: Christoph Hellwig Signed-off-by: Trond Myklebust --- diff --git a/fs/nfs/Kconfig b/fs/nfs/Kconfig index 38c1768b4142..3dece03f2fc8 100644 --- a/fs/nfs/Kconfig +++ b/fs/nfs/Kconfig @@ -116,17 +116,17 @@ config NFS_V4_2 config PNFS_FILE_LAYOUT tristate depends on NFS_V4_1 - default m + default NFS_V4 config PNFS_BLOCK tristate depends on NFS_V4_1 && BLK_DEV_DM - default m + default NFS_V4 config PNFS_OBJLAYOUT tristate depends on NFS_V4_1 && SCSI_OSD_ULD - default m + default NFS_V4 config NFS_V4_1_IMPLEMENTATION_ID_DOMAIN string "NFSv4.1 Implementation ID Domain"