Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251201
b: refs/heads/master
c: 8270b45
h: refs/heads/master
i:
  251199: 6591702
v: v3
  • Loading branch information
Keir Fraser authored and Konrad Rzeszutek Wilk committed Apr 14, 2011
1 parent 936452f commit 502c00d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: dd3672424caa7b302433635831afbb6787476b96
refs/heads/master: 8270b45bc8a45eef4a224bd256bd0997d4fd857e
8 changes: 4 additions & 4 deletions trunk/drivers/xen/blkback/blkback.c
Original file line number Diff line number Diff line change
Expand Up @@ -318,14 +318,14 @@ static int do_block_io_op(blkif_t *blkif)
if (RING_REQUEST_CONS_OVERFLOW(&blk_rings->common, rc))
break;

pending_req = alloc_req();
if (NULL == pending_req) {
blkif->st_oo_req++;
if (kthread_should_stop()) {
more_to_do = 1;
break;
}

if (kthread_should_stop()) {
pending_req = alloc_req();
if (NULL == pending_req) {
blkif->st_oo_req++;
more_to_do = 1;
break;
}
Expand Down

0 comments on commit 502c00d

Please sign in to comment.