Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249466
b: refs/heads/master
c: 149b119
h: refs/heads/master
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed May 11, 2011
1 parent ccfc0a2 commit 7bc4d6c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions 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: f670f824d6a740963d506d6d47a4c1a07b61c630
refs/heads/master: 149b11936159b13995d940c21ec622f756dfd66d
12 changes: 5 additions & 7 deletions trunk/drivers/staging/hv/blkvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -588,15 +588,13 @@ static void blkvsc_shutdown(struct hv_device *dev)

spin_unlock_irqrestore(&blkdev->lock, flags);

while (blkdev->num_outstanding_reqs) {
DPRINT_INFO(STORVSC, "waiting for %d requests to complete...",
blkdev->num_outstanding_reqs);
udelay(100);
}


blkvsc_do_operation(blkdev, DO_FLUSH);

/*
* Now wait for all outgoing I/O to be drained.
*/
storvsc_wait_to_drain((struct storvsc_device *)dev->ext);

}

static int blkvsc_release(struct gendisk *disk, fmode_t mode)
Expand Down

0 comments on commit 7bc4d6c

Please sign in to comment.