From: Mike Christie Date: Sun, 1 May 2005 19:47:15 +0000 (-0500) Subject: [SCSI] call correct scsi_done function in scsi_dispatch_cmd X-Git-Tag: v2.6.12-rc4~19^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69b528936b702d4c13ffa0d14215a029dc754e50;p=pandora-kernel.git [SCSI] call correct scsi_done function in scsi_dispatch_cmd scsi_dispatch_cmd currently calls scsi_done when the device is in the SDEV_DEL state, but at this point the command has not had a timer added to it (this is done a couple lines down) so scsi_done just returns and the command is lost. The attached patch made against 2.6.12-rc3 calls __scsi_done in this case so the comamnd will be returned upwards. Signed-off-by: Mike Christie Signed-off-by: James Bottomley --- Reading git-diff-tree failed