From: Sebastian Andrzej Siewior Date: Tue, 10 Jan 2012 13:16:59 +0000 (+0100) Subject: target: add unknown size flag to target_submit_cmd() X-Git-Tag: v3.5-rc1~111^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0d7994660af1601cc26ef7ab748569fdb9c253b;p=pandora-kernel.git target: add unknown size flag to target_submit_cmd() The UASP protocol does not inform the target device upfront how much data it should expect so we have to learn in from the CDB. So in order to handle this case, add a TARGET_SCF_UNKNOWN_SIZE to target_submit_cmd() and perform an explictly assignment for se_cmd->data_length from the extracted CDB size in transport_generic_cmd_sequencer(). Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed