Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348841
b: refs/heads/master
c: 72b59d6
h: refs/heads/master
i:
  348839: 419bfd0
v: v3
  • Loading branch information
Roland Dreier authored and Nicholas Bellinger committed Jan 11, 2013
1 parent 6f49e10 commit 48ba6e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e627c615553a356f6f70215ebb3933c6e057553e
refs/heads/master: 72b59d6ee8adaa51f70377db0a1917ed489bead8
5 changes: 2 additions & 3 deletions trunk/drivers/target/target_core_transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -541,9 +541,6 @@ static void transport_lun_remove_cmd(struct se_cmd *cmd)

void transport_cmd_finish_abort(struct se_cmd *cmd, int remove)
{
if (!(cmd->se_cmd_flags & SCF_SCSI_TMR_CDB))
transport_lun_remove_cmd(cmd);

if (transport_cmd_check_stop_to_fabric(cmd))
return;
if (remove)
Expand Down Expand Up @@ -2815,6 +2812,8 @@ void transport_send_task_abort(struct se_cmd *cmd)
}
cmd->scsi_status = SAM_STAT_TASK_ABORTED;

transport_lun_remove_cmd(cmd);

pr_debug("Setting SAM_STAT_TASK_ABORTED status for CDB: 0x%02x,"
" ITT: 0x%08x\n", cmd->t_task_cdb[0],
cmd->se_tfo->get_task_tag(cmd));
Expand Down

0 comments on commit 48ba6e4

Please sign in to comment.