From: Peter Jones Date: Thu, 6 Jan 2011 20:38:24 +0000 (-0500) Subject: [SCSI] scsi_dh: Use scsi_devinfo functions to do matching of device_handler tables. X-Git-Tag: v2.6.39-rc1~440^2~139 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=940d7faa4818f386fcdf1b7266ec7b62bf07a7d0;p=pandora-kernel.git [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 --- Reading git-diff-tree failed