[SCSI] scsi_dh: fix kconfig related build errors
authorChandra Seetharaman <sekharan@us.ibm.com>
Sat, 24 May 2008 01:16:40 +0000 (18:16 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Tue, 15 Jul 2008 14:16:43 +0000 (09:16 -0500)
commitfe9233fb6914a0eb20166c967e3020f7f0fba2c9
tree45d6f25301e41ff9323f2eee20fce6ae341cda7f
parentd7f305e9a08040649b0800245e67708df58cdb55
[SCSI] scsi_dh: fix kconfig related build errors

Do not automatically "select" SCSI_DH for dm-multipath. If SCSI_DH
doesn't exist,just do not allow  hardware handlers to be used.

Handle SCSI_DH being a module also. Make sure it doesn't allow DM_MULTIPATH
to be compiled in when SCSI_DH is a module.

[jejb: added comment for Kconfig syntax]
Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/md/Kconfig
drivers/md/dm-mpath.c
include/scsi/scsi_dh.h