Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226854
b: refs/heads/master
c: fd01a66
h: refs/heads/master
v: v3
  • Loading branch information
Hillf Danton authored and James Bottomley committed Dec 21, 2010
1 parent 1ebb18e commit 33dd0c1
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: db422318cbca55168cf965f655471dbf8be82433
refs/heads/master: fd01a6632da253210c3dbc7814bc6eceda96623d
5 changes: 2 additions & 3 deletions trunk/drivers/scsi/scsi_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -1278,11 +1278,10 @@ static inline int scsi_target_queue_ready(struct Scsi_Host *shost,
}

if (scsi_target_is_busy(starget)) {
if (list_empty(&sdev->starved_entry)) {
if (list_empty(&sdev->starved_entry))
list_add_tail(&sdev->starved_entry,
&shost->starved_list);
return 0;
}
return 0;
}

/* We're OK to process the command, so we can't be starved */
Expand Down

0 comments on commit 33dd0c1

Please sign in to comment.