summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-09-09 18:04:18 +0200
committerJames Bottomley <JBottomley@Odin.com>2015-09-11 11:54:37 -0700
commit294ab783ad98066b87296db1311c7ba2a60206a5 (patch)
treee316e2db2485a9312bff41755bdb3f3ea548f84e
parent537b604c8b3aa8b96fe35f87dd085816552e294c (diff)
downloadlwn-294ab783ad98066b87296db1311c7ba2a60206a5.tar.gz
lwn-294ab783ad98066b87296db1311c7ba2a60206a5.zip
scsi_dh: fix randconfig build error
It looks like the Kconfig check that was meant to fix this (commit fe9233fb6914a0eb20166c967e3020f7f0fba2c9 [SCSI] scsi_dh: fix kconfig related build errors) was actually reversed, but no-one noticed until the new set of patches which separated DM and SCSI_DH). Fixes: fe9233fb6914a0eb20166c967e3020f7f0fba2c9 Signed-off-by: Christoph Hellwig <hch@lst.de> Tested-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: James Bottomley <JBottomley@Odin.com>
-rw-r--r--drivers/md/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig
index b59727309072..e9ea681129df 100644
--- a/drivers/md/Kconfig
+++ b/drivers/md/Kconfig
@@ -393,7 +393,7 @@ config DM_MULTIPATH
# of SCSI_DH if the latter isn't defined but if
# it is, DM_MULTIPATH must depend on it. We get a build
# error if SCSI_DH=m and DM_MULTIPATH=y
- depends on SCSI_DH || !SCSI_DH
+ depends on !SCSI_DH || SCSI
---help---
Allow volume managers to support multipath hardware.