Skip to contentSkip to conversation

nfsd: block and scsi layout drivers need to depend on CONFIG_BLOCK

PATCH In review Christoph Hellwig 2 participants 2 messages Mar 9, 2016 – Mar 10, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nfsd: block and scsi layout drivers need to depend on CONFIG_BLOCK

---
 fs/nfsd/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
fs/nfsd/Kconfig +2 -2
index a30a313..c9f583d 100644
@@ -88,7 +88,7 @@ config NFSD_PNFS
 
 config NFSD_BLOCKLAYOUT
 	bool "NFSv4.1 server support for pNFS block layouts"
-	depends on NFSD_V4
+	depends on NFSD_V4 && BLOCK
 	select NFSD_PNFS
 	help
 	  This option enables support for the exporting pNFS block layouts
@@ -100,7 +100,7 @@ config NFSD_BLOCKLAYOUT
 
 config NFSD_SCSILAYOUT
 	bool "NFSv4.1 server support for pNFS SCSI layouts"
-	depends on NFSD_V4
+	depends on NFSD_V4 && BLOCK
 	select NFSD_PNFS
 	help
 	  This option enables support for the exporting pNFS SCSI layouts
Signature · 1 line
2.1.4
#1 lore raw

Thanks!--b.

Quoted 30 lines · Christoph Hellwig
---
 fs/nfsd/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
fs/nfsd/Kconfig +2 -2
index a30a313..c9f583d 100644
@@ -88,7 +88,7 @@ config NFSD_PNFS
 
 config NFSD_BLOCKLAYOUT
 	bool "NFSv4.1 server support for pNFS block layouts"
-	depends on NFSD_V4
+	depends on NFSD_V4 && BLOCK
 	select NFSD_PNFS
 	help
 	  This option enables support for the exporting pNFS block layouts
@@ -100,7 +100,7 @@ config NFSD_BLOCKLAYOUT
 
 config NFSD_SCSILAYOUT
 	bool "NFSv4.1 server support for pNFS SCSI layouts"
-	depends on NFSD_V4
+	depends on NFSD_V4 && BLOCK
 	select NFSD_PNFS
 	help
 	  This option enables support for the exporting pNFS SCSI layouts
Signature · 1 line
2.1.4