From: James Smart Date: Thu, 24 Apr 2008 16:12:46 +0000 (-0400) Subject: [SCSI] scsi_transport_fc: fc_user_scan correction X-Git-Tag: v2.6.26-rc1~1027^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bda232531f0c117921690ee3c060953c8f12e5a1;p=pandora-kernel.git [SCSI] scsi_transport_fc: fc_user_scan correction Way back when, when the fc_user_scan routine was created, it kept some of its original logic that walked the rport list and kicked off a scan. Unfortunately, it didn't keep any of the locking around the rport list, nor did it consider the synchronous nature of the scan invoked. The result, there are some scan requests where the rport list changes, thus a subsequent scan is called on a bogus rport structure and the system NMI's. Signed-off-by: James Smart Signed-off-by: James Bottomley --- Reading git-diff-tree failed