aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sg.c
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@steeleye.com>2005-09-09 13:40:23 -0500
committerJames Bottomley <jejb@mulgrave.(none)>2005-09-09 16:30:59 -0500
commit788ce43aa1ad7158f894b6bb3df8ba2f63794c20 (patch)
tree56b84ceff12e0296f782023563a7a612a34fa6d9 /drivers/scsi/sg.c
parente91442b635be776ea205fba233bdd5bc74b62bc3 (diff)
downloadkernel_samsung_espresso10-788ce43aa1ad7158f894b6bb3df8ba2f63794c20.zip
kernel_samsung_espresso10-788ce43aa1ad7158f894b6bb3df8ba2f63794c20.tar.gz
kernel_samsung_espresso10-788ce43aa1ad7158f894b6bb3df8ba2f63794c20.tar.bz2
[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 <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/sg.c')
0 files changed, 0 insertions, 0 deletions