Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286528
b: refs/heads/master
c: 40be67f
h: refs/heads/master
v: v3
  • Loading branch information
Nicholas Bellinger committed Dec 14, 2011
1 parent 6d828d3 commit c4a595d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: ec54cc081ead14e85736c6543e36ec59be8a7d3d
refs/heads/master: 40be67f4c588fe2f3e2dbd60ae1f470abc5b6ad8
3 changes: 2 additions & 1 deletion trunk/drivers/target/target_core_transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -2076,6 +2076,7 @@ static inline int transport_execute_task_attr(struct se_cmd *cmd)
static int transport_execute_tasks(struct se_cmd *cmd)
{
int add_tasks;
struct se_device *se_dev = cmd->se_dev;

if (se_dev_check_online(cmd->se_dev) != 0) {
cmd->scsi_sense_reason = TCM_LOGICAL_UNIT_COMMUNICATION_FAILURE;
Expand Down Expand Up @@ -2108,7 +2109,7 @@ static int transport_execute_tasks(struct se_cmd *cmd)
* storage object.
*/
execute_tasks:
__transport_execute_tasks(cmd->se_dev);
__transport_execute_tasks(se_dev);
return 0;
}

Expand Down

0 comments on commit c4a595d

Please sign in to comment.