From: James Bottomley Date: Fri, 9 Sep 2005 18:40:23 +0000 (-0500) Subject: [SCSI] SCSI core: fix leakage of scsi_cmnd's X-Git-Tag: v2.6.14-rc1~5^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=788ce43aa1ad7158f894b6bb3df8ba2f63794c20;p=pandora-kernel.git [SCSI] SCSI core: fix leakage of scsi_cmnd's Actually, just one problem and one cosmetic fix: 1) We need to dequeue for the loop and kill case (it seems easiest simply to dequeue in the scsi_kill_request() routine) 2) There's no real need to drop the queue lock. __scsi_done() is lock agnostic, so since there's no requirement, let's just leave it in to avoid any locking issues. Signed-off-by: James Bottomley --- Reading git-diff-tree failed