commit | 940d7faa4818f386fcdf1b7266ec7b62bf07a7d0 | [log] [tgz] |
---|---|---|
author | Peter Jones <pjones@redhat.com> | Thu Jan 06 15:38:24 2011 -0500 |
committer | James Bottomley <James.Bottomley@suse.de> | Mon Jan 24 12:02:09 2011 -0600 |
tree | 3a5acb8d4a9b0d6806724e71e6c7f9e23d39bfad | |
parent | 38a039be2e7bda32517642ecfce54c9317292a9c [diff] |
[SCSI] scsi_dh: Use scsi_devinfo functions to do matching of device_handler tables. 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>