From: Nicholas Bellinger Date: Tue, 9 Aug 2011 02:03:38 +0000 (-0700) Subject: target: Fix write payload exception handling with ->new_cmd_map X-Git-Tag: v3.1-rc4~43^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16ab8e60a0ebc22cfbe61d84e620457a15f3a0bc;p=pandora-kernel.git target: Fix write payload exception handling with ->new_cmd_map This patch fixes a bug for fabrics using tfo->new_cmd_map() that are expect transport_generic_request_failure() to be calling transport_send_check_condition_and_sense() for both READ and WRITE, instead of only for READ exceptions. This was originally observed with a failed WRITE_SAME_16 w/ unmap=0 using tcm_loop. Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed