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

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
Christoph Hellwig 2016-03-09 15:43:27 +01:00 committed by J. Bruce Fields
parent f99d4fbdae
commit 10c4de10b2
1 changed files with 2 additions and 2 deletions

View File

@ -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