]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/scsi/scsi.c
[SCSI] simplify command allocation and freeing a bit
authorChristoph Hellwig <hch@infradead.org>
Thu, 20 Feb 2014 22:21:00 +0000 (14:21 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 27 Mar 2014 15:26:32 +0000 (08:26 -0700)
commit7c283341225d0ebeb7480a9e6560f599dcd0f417
tree1cfeb8dc5703c3185eea89d4972cbe54b9f82429
parent0f2bb84d2a68448c29d46f9f77a78bb4ed0218db
[SCSI] simplify command allocation and freeing a bit

Just have one level of alloc/free functions that take a host instead
of two levels for the allocation and different calling conventions
for the free.

[fengguang.wu@intel.com: docbook problems spotted, now fixed]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/scsi.c