From: Jeff Mahoney Date: Sat, 18 Aug 2012 19:20:39 +0000 (-0400) Subject: [SCSI] st: get rid of scsi_tapes array X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~38^2^2~118 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c648d95a6af4a79241a916871df17c84c68ea20;p=pandora-kernel.git [SCSI] st: get rid of scsi_tapes array st currently allocates an array to store pointers to all of the scsi_tape objects. It's used to discover available indexes to use as the base for the minor number selection and later to look up scsi_tape devices for character devices. We switch to using an IDR for minor selection and a pointer from st_modedef back to scsi_tape for the lookups. Reviewed-by: Lee Duncan Signed-off-by: Jeff Mahoney Acked-by: Kai Mäkisara Signed-off-by: James Bottomley --- Reading git-diff-tree failed