From 9ac549873d35626cd6d7718691aaf4c55f2667a7 Mon Sep 17 00:00:00 2001 From: Nicholas Bellinger Date: Sat, 22 Oct 2011 04:06:23 -0700 Subject: [PATCH] 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 Cc: Boaz Harrosh Signed-off-by: Nicholas Bellinger --- Reading git-format-patch failed