diff options
| author | Ingo Molnar <mingo@elte.hu> | 2010-10-18 12:43:43 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2010-10-18 12:43:46 -0400 |
| commit | f2f108eb4511f22a6f7568090cfcf4e7b2dc0f62 (patch) | |
| tree | 4b75771ec02543372808c7df31a1a65e37fdb361 /drivers/md/bitmap.c | |
| parent | 756b0322e50aebc4b9afb4488a2d3f6c802b4e64 (diff) | |
| parent | 2b666ca4a68cbc22483b0f2e1ba3c0e59b01ae9e (diff) | |
Merge branch 'linus' into core/locking
Merge reason: Update to almost-final-.36
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/md/bitmap.c')
| -rw-r--r-- | drivers/md/bitmap.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/md/bitmap.c b/drivers/md/bitmap.c index ed4900ade93a..e4fb58db5454 100644 --- a/drivers/md/bitmap.c +++ b/drivers/md/bitmap.c | |||
| @@ -1000,10 +1000,11 @@ static int bitmap_init_from_disk(struct bitmap *bitmap, sector_t start) | |||
| 1000 | page = bitmap->sb_page; | 1000 | page = bitmap->sb_page; |
| 1001 | offset = sizeof(bitmap_super_t); | 1001 | offset = sizeof(bitmap_super_t); |
| 1002 | if (!file) | 1002 | if (!file) |
| 1003 | read_sb_page(bitmap->mddev, | 1003 | page = read_sb_page( |
| 1004 | bitmap->mddev->bitmap_info.offset, | 1004 | bitmap->mddev, |
| 1005 | page, | 1005 | bitmap->mddev->bitmap_info.offset, |
| 1006 | index, count); | 1006 | page, |
| 1007 | index, count); | ||
| 1007 | } else if (file) { | 1008 | } else if (file) { |
| 1008 | page = read_page(file, index, bitmap, count); | 1009 | page = read_page(file, index, bitmap, count); |
| 1009 | offset = 0; | 1010 | offset = 0; |
