From: Eric Moore Date: Sat, 29 Sep 2007 16:16:53 +0000 (-0600) Subject: [SCSI] mpt fusion: lock down ScsiLookup X-Git-Tag: v2.6.24-rc1~1290^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8206381f5842269691f3164ec0d79b7059bd710;p=pandora-kernel.git [SCSI] mpt fusion: lock down ScsiLookup ScsiLookup is an array of pending scmd pointers that the scsi lld maintains. This array is touched from queuecommand, eh threads, and interrupt context. This array should put under locks, hence this patch to synchronize its access. I've added some nice little function wrappers for this, and moved the ScsiLookup array over to MPT_ADAPTER struct. Signed-off-by: Eric Moore Signed-off-by: James Bottomley --- Reading git-diff-tree failed