scsi_dh: fix randconfig build error

commit 294ab783ad98066b87296db1311c7ba2a60206a5 upstream.

It looks like the Kconfig check that was meant to fix this (commit
fe9233fb69 [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: fe9233fb69
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
Signed-off-by: Zefan Li <lizefan@huawei.com>
This commit is contained in:
Christoph Hellwig 2015-09-09 18:04:18 +02:00 committed by Zefan Li
parent 4091728023
commit 3cd0ee5531

View file

@ -330,7 +330,7 @@ config DM_MULTIPATH
# of SCSI_DH if the latter isn't defined but if # of SCSI_DH if the latter isn't defined but if
# it is, DM_MULTIPATH must depend on it. We get a build # it is, DM_MULTIPATH must depend on it. We get a build
# error if SCSI_DH=m and DM_MULTIPATH=y # error if SCSI_DH=m and DM_MULTIPATH=y
depends on SCSI_DH || !SCSI_DH depends on !SCSI_DH || SCSI
---help--- ---help---
Allow volume managers to support multipath hardware. Allow volume managers to support multipath hardware.