summaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-03-09 15:43:27 +0100
committerJ. Bruce Fields <bfields@redhat.com>2016-03-18 11:42:54 -0400
commit10c4de10b2624ab9d83bd8e708d39a1867302a6a (patch)
treee3471cc575dd7c4a67ba8a1c9997470031254d40 /fs/nfsd
parentf99d4fbdae6765d0bb4ed5441f6fa1f036122d59 (diff)
downloadlinux-10c4de10b2624ab9d83bd8e708d39a1867302a6a.tar.bz2
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>
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/Kconfig b/fs/nfsd/Kconfig
index a30a31316e68..c9f583d7bac8 100644
--- a/fs/nfsd/Kconfig
+++ b/fs/nfsd/Kconfig
@@ -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