Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264662
b: refs/heads/master
c: 77039d1
h: refs/heads/master
v: v3
  • Loading branch information
Nicholas Bellinger committed Oct 24, 2011
1 parent d5c149d commit a19e8cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: b0e062aec578c756d1aea4b5809294488366a6e8
refs/heads/master: 77039d1eafbbc192df71ee84b157b8973766737d
5 changes: 3 additions & 2 deletions trunk/drivers/target/target_core_transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -593,13 +593,14 @@ static void transport_lun_remove_cmd(struct se_cmd *cmd)

void transport_cmd_finish_abort(struct se_cmd *cmd, int remove)
{
transport_remove_cmd_from_queue(cmd, &cmd->se_dev->dev_queue_obj);
transport_lun_remove_cmd(cmd);

if (transport_cmd_check_stop_to_fabric(cmd))
return;
if (remove)
if (remove) {
transport_remove_cmd_from_queue(cmd, &cmd->se_dev->dev_queue_obj);
transport_generic_remove(cmd, 0);
}
}

void transport_cmd_finish_abort_tmr(struct se_cmd *cmd)
Expand Down

0 comments on commit a19e8cb

Please sign in to comment.