OSDN Git Service

target: always allocate a single task
authorChristoph Hellwig <hch@infradead.org>
Tue, 24 Apr 2012 04:25:03 +0000 (00:25 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 6 May 2012 22:11:25 +0000 (15:11 -0700)
commit4101f0a89d4eb13f04cb0344d59a335b862ca5f9
tree9304d857f3e256c62d5e81559c26dd260ad053bf
parent6bb35e009b656b36f7985057822c5fbf53ea75b7
target: always allocate a single task

Simply transport_generic_new_cmd to only allocate a single task.  For normal
unidirection commands nothing changes except that the code is a lot simpler
now.  Any BIDI support that used to work will stop now for the next few
patches at least.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_transport.c