commit | 9ac549873d35626cd6d7718691aaf4c55f2667a7 | [log] [tgz] |
---|---|---|
author | Nicholas Bellinger <nab@linux-iscsi.org> | Sat Oct 22 04:06:23 2011 -0700 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Mon Oct 24 03:22:02 2011 +0000 |
tree | dd4ed6ddb6d8a852242a349bc5021e20f956ff1a | |
parent | 38b400676b5b33178a418bebc2b1af6c3fb0b380 [diff] |
target: Fix BIDI t_task_cdb handling in transport_generic_new_cmd This patch fixes a bug for BIDI handling in transport_generic_new_cmd() where cmd->t_task_cdbs_left and Co. where not taking into account the extra task count generated during the first call to transport_allocate_data_tasks(). Cc: Christoph Hellwig <hch@lst.de> Cc: Boaz Harrosh <bharrosh@panasas.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>