From: Andrew Vasquez Date: Fri, 28 May 2010 22:08:19 +0000 (-0700) Subject: [SCSI] qla2xxx: Correct async-srb issues. X-Git-Tag: v2.6.36-rc1~570^2~244 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ac5260850841eb4055811a68ff47d658ebe9a59;p=pandora-kernel.git [SCSI] qla2xxx: Correct async-srb issues. * hold the hardware_lock throughout the duration of ctx-sp timeout handling -- could result in use-after-free oops. * retry a timed-out login-request. * done() routines are called with the hardware-lock held, issue qla2x00_mark_device_lost() with proper 'defer' flag. * FCP2 capabilities are only relevant to target devices. Signed-off-by: Giridhar Malavali Signed-off-by: James Bottomley --- Reading git-diff-tree failed