Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 359526
b: refs/heads/master
c: de33127
h: refs/heads/master
v: v3
  • Loading branch information
Guo Chao authored and Jens Axboe committed Feb 22, 2013
1 parent 8ae4df4 commit 761ec57
Show file tree
Hide file tree
Showing 2 changed files with 2 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: d646a02a9d44d1421f273ae3923d97b47b918176
refs/heads/master: de33127d8d3f1d570aad8c2223cd81b206636bc1
2 changes: 1 addition & 1 deletion trunk/fs/block_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1119,7 +1119,7 @@ static int __blkdev_get(struct block_device *bdev, fmode_t mode, int for_part)
}
}

if (!ret && !bdev->bd_openers) {
if (!ret) {
bd_set_size(bdev,(loff_t)get_capacity(disk)<<9);
bdi = blk_get_backing_dev_info(bdev);
if (bdi == NULL)
Expand Down

0 comments on commit 761ec57

Please sign in to comment.