nfsd: block and scsi layout drivers need to depend on CONFIG_BLOCK
authorChristoph Hellwig <hch@lst.de>
Wed, 9 Mar 2016 14:43:27 +0000 (15:43 +0100)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 18 Mar 2016 15:42:54 +0000 (11:42 -0400)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/Kconfig

index a30a31316e68411f5d500f241c1f8f9b86518d5f..c9f583d7bac858c9ac3afc51cf4dd02838b473d5 100644 (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
This page took 0.026326 seconds and 5 git commands to generate.