Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254544
b: refs/heads/master
c: f53a3a3
h: refs/heads/master
v: v3
  • Loading branch information
Jeff Skirvin authored and Dan Williams committed Jul 3, 2011
1 parent 30756fc commit e322011
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: cde76fbf1f27551a08860227765ae8d5026ac0d9
refs/heads/master: f53a3a32c1e799e27f63bff7b42b4c36749e5e6f
3 changes: 2 additions & 1 deletion trunk/drivers/scsi/isci/request.c
Original file line number Diff line number Diff line change
Expand Up @@ -3678,18 +3678,19 @@ int isci_request_execute(
* Update it's status and add it to the list in the
* remote device object.
*/
isci_request_change_state(request, started);
list_add(&request->dev_node, &isci_device->reqs_in_process);

if (status == SCI_SUCCESS) {
/* Save the tag for possible task mgmt later. */
request->io_tag = request->sci.io_tag;
isci_request_change_state(request, started);
} else {
/* The request did not really start in the
* hardware, so clear the request handle
* here so no terminations will be done.
*/
request->terminated = true;
isci_request_change_state(request, completed);
}
spin_unlock_irqrestore(&isci_host->scic_lock, flags);

Expand Down

0 comments on commit e322011

Please sign in to comment.