Linux NFS development
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: bfields@fieldses.org
Cc: linux-nfs@vger.kernel.org
Subject: [PATCH] nfsd: block and scsi layout drivers need to depend on CONFIG_BLOCK
Date: Wed,  9 Mar 2016 15:43:27 +0100	[thread overview]
Message-ID: <1457534607-6925-1-git-send-email-hch@lst.de> (raw)

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


             reply	other threads:[~2016-03-09 14:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-09 14:43 Christoph Hellwig [this message]
2016-03-10 22:30 ` [PATCH] nfsd: block and scsi layout drivers need to depend on CONFIG_BLOCK J. Bruce Fields

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1457534607-6925-1-git-send-email-hch@lst.de \
    --to=hch@lst.de \
    --cc=bfields@fieldses.org \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox