From: Nicholas Bellinger Date: Thu, 22 Aug 2013 01:10:04 +0000 (-0700) Subject: target: Add compare_and_write_post() completion callback fall through X-Git-Tag: v3.12-rc1~23^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2890087499ae530362139aaf6c120f438e1e679;p=pandora-kernel.git target: Add compare_and_write_post() completion callback fall through This patch changes target_complete_ok_work() to fall through after calling the se_cmd->transport_complete_callback() -> compare_and_write_post() callback, by keying off the existance of SCF_COMPARE_AND_WRITE_POST. This is necessary because once SCF_COMPARE_AND_WRITE_POST has been set by compare_and_write_post(), the SCSI response needs to be sent via TFO->queue_status(). Cc: Christoph Hellwig Cc: Hannes Reinecke Cc: Martin Petersen Cc: Chris Mason Cc: James Bottomley Cc: Nicholas Bellinger Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed