From: Nicholas Bellinger Date: Wed, 10 Aug 2011 05:53:02 +0000 (-0700) Subject: target: Remove duplicate task completions in transport_emulate_control_cdb X-Git-Tag: v3.1-rc4~43^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72f4ba1e32a1e5da31dcf14ea4b8985ae88a8bdb;p=pandora-kernel.git target: Remove duplicate task completions in transport_emulate_control_cdb This patch removes a duplicate set of transport_complete_task() calls in target_emulate_unmap() and target_emulate_write_same() as the completion call is already done within transport_emulate_control_cdb() This patch also adds a check in transport_emulate_control_cdb() for the existing SCF_EMULATE_CDB_ASYNC flag currently used by SYNCHRONIZE_CACHE in order to handle IMMEDIATE processing. Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed