[SCSI] scsi_dh: Use scsi_devinfo functions to do matching of device_handler tables.
authorPeter Jones <pjones@redhat.com>
Thu, 6 Jan 2011 20:38:24 +0000 (15:38 -0500)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 24 Jan 2011 18:02:09 +0000 (12:02 -0600)
Previously we were using strncmp in order to avoid having to include
whitespace in the devlist, but this means "HSV1000" matches a device
list entry that says "HSV100", which is wrong.  This patch changes
scsi_dh.c to use scsi_devinfo's matching functions instead, since they
handle these cases correctly.

Signed-off-by: James Bottomley <James.Bottomley@suse.de>

No differences found