Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251249
b: refs/heads/master
c: 3d68b39
h: refs/heads/master
i:
  251247: 32d0ab9
v: v3
  • Loading branch information
Konrad Rzeszutek Wilk committed May 5, 2011
1 parent 524a080 commit da0d307
Show file tree
Hide file tree
Showing 2 changed files with 4 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: fc53bf757ede292312eee10d64f4e691c8c8cebf
refs/heads/master: 3d68b39926b3b247d76cc4da0256e979b2b730e3
6 changes: 3 additions & 3 deletions trunk/drivers/block/xen-blkback/blkback.c
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ static int dispatch_rw_block_io(struct blkif_st *blkif,
if (xen_blkbk_map(req, pending_req, seg))
goto fail_flush;

/* This corresponding blkif_put is done in __end_block_io_op */
/* This corresponding xen_blkif_put is done in __end_block_io_op */
xen_blkif_get(blkif);

for (i = 0; i < nseg; i++) {
Expand All @@ -626,7 +626,7 @@ static int dispatch_rw_block_io(struct blkif_st *blkif,
preq.sector_number += seg[i].nsec;
}

/* This will be hit if the operation was a barrier. */
/* This will be hit if the operation was a flush. */
if (!bio) {
BUG_ON(operation != WRITE_FLUSH);
bio = biolist[nbio++] = bio_alloc(GFP_KERNEL, 0);
Expand All @@ -650,8 +650,8 @@ static int dispatch_rw_block_io(struct blkif_st *blkif,
for (i = 0; i < nbio; i++)
submit_bio(operation, biolist[i]);

blk_finish_plug(&plug);
/* Let the I/Os go.. */
blk_finish_plug(&plug);

if (operation == READ)
blkif->st_rd_sect += preq.nr_sects;
Expand Down

0 comments on commit da0d307

Please sign in to comment.