Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286532
b: refs/heads/master
c: 6d5b597
h: refs/heads/master
v: v3
  • Loading branch information
Nicholas Bellinger committed Dec 14, 2011
1 parent b437b04 commit c9c9b74
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 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: beb55a0cc15a43be43a646b588fcf83822f0c44f
refs/heads/master: 6d5b59756033c2a029bde7262bb5f8d45f4ca952
7 changes: 0 additions & 7 deletions trunk/drivers/target/target_core_transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -2062,13 +2062,6 @@ 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;
transport_generic_request_failure(cmd);
return 0;
}

/*
* Call transport_cmd_check_stop() to see if a fabric exception
* has occurred that prevents execution.
Expand Down

0 comments on commit c9c9b74

Please sign in to comment.