[SCSI] consolidate command allocation in a single place
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 13 Mar 2008 16:16:33 +0000 (11:16 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 7 Apr 2008 17:17:30 +0000 (12:17 -0500)
commite507e30b803fb56d768ed9a597e7609b74d2db21
tree06b4ccaac1d4fa6583afc086005d9bb725192909
parent035f5e06515a66827015202685e457a5534441b7
[SCSI] consolidate command allocation in a single place

Since the way we allocate commands with a separate sense buffer is
getting complicated, we should isolate setup and teardown to a single
routine so that if it gets even more complex, there's only one place
in the code that needs to be altered.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/scsi.c