diff mbox

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

Message ID 1457534607-6925-1-git-send-email-hch@lst.de (mailing list archive)
State New, archived
Headers show

Commit Message

Christoph Hellwig March 9, 2016, 2:43 p.m. UTC
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
---
 fs/nfsd/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

J. Bruce Fields March 10, 2016, 10:30 p.m. UTC | #1
Thanks!--b.

On Wed, Mar 09, 2016 at 03:43:27PM +0100, Christoph Hellwig wrote:
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> Reported-by: Randy Dunlap <rdunlap@infradead.org>
> ---
>  fs/nfsd/Kconfig | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/fs/nfsd/Kconfig b/fs/nfsd/Kconfig
> index a30a313..c9f583d 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
> -- 
> 2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/fs/nfsd/Kconfig b/fs/nfsd/Kconfig
index a30a313..c9f583d 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