From: Nicholas Bellinger Date: Wed, 13 Nov 2013 22:39:14 +0000 (-0800) Subject: target: Fix delayed Task Aborted Status (TAS) handling bug X-Git-Tag: v3.13-rc1~5^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29f4c090079f442ea2723d292e4e64f0b6ac1f27;p=pandora-kernel.git target: Fix delayed Task Aborted Status (TAS) handling bug This patch fixes a bug in delayed Task Aborted Status (TAS) handling, where transport_send_task_abort() was not returning for the case when the se_tfo->write_pending() callback indicated that last fabric specific WRITE PDU had not yet been received. It also adds an explicit cmd->scsi_status = SAM_STAT_TASK_ABORTED assignment within transport_check_aborted_status() to avoid the case where se_tfo->queue_status() is called when the SAM_STAT_TASK_ABORTED assignment + ->queue_status() in transport_send_task_abort() does not occur once SCF_SENT_DELAYED_TAS has been set. Cc: #3.2+ Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed