Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211367
b: refs/heads/master
c: 5c04f55
h: refs/heads/master
i:
  211365: f109ed5
  211363: c93bd08
  211359: c337845
v: v3
  • Loading branch information
Vasiliy Kulikov authored and NeilBrown committed Oct 7, 2010
1 parent 48300b8 commit c13ffe5
Show file tree
Hide file tree
Showing 2 changed files with 6 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: db8d9d3591f77cc6b66248b2cdfa1c43deee5ec9
refs/heads/master: 5c04f5512f8134c75cd36e5b0354e10e330f4e6e
9 changes: 5 additions & 4 deletions trunk/drivers/md/bitmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1000,10 +1000,11 @@ static int bitmap_init_from_disk(struct bitmap *bitmap, sector_t start)
page = bitmap->sb_page;
offset = sizeof(bitmap_super_t);
if (!file)
read_sb_page(bitmap->mddev,
bitmap->mddev->bitmap_info.offset,
page,
index, count);
page = read_sb_page(
bitmap->mddev,
bitmap->mddev->bitmap_info.offset,
page,
index, count);
} else if (file) {
page = read_page(file, index, bitmap, count);
offset = 0;
Expand Down

0 comments on commit c13ffe5

Please sign in to comment.