Skip to content

Commit 8c2fabc

Browse files
Christoph HellwigTrond Myklebust
authored andcommitted
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 <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
1 parent 9e08ef1 commit 8c2fabc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fs/nfs/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,17 +116,17 @@ config NFS_V4_2
116116
config PNFS_FILE_LAYOUT
117117
tristate
118118
depends on NFS_V4_1
119-
default m
119+
default NFS_V4
120120

121121
config PNFS_BLOCK
122122
tristate
123123
depends on NFS_V4_1 && BLK_DEV_DM
124-
default m
124+
default NFS_V4
125125

126126
config PNFS_OBJLAYOUT
127127
tristate
128128
depends on NFS_V4_1 && SCSI_OSD_ULD
129-
default m
129+
default NFS_V4
130130

131131
config NFS_V4_1_IMPLEMENTATION_ID_DOMAIN
132132
string "NFSv4.1 Implementation ID Domain"

0 commit comments

Comments
 (0)