diff options
author | David S. Miller <davem@davemloft.net> | 2010-10-21 00:54:21 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-21 00:54:21 -0700 |
commit | 4c2a1b86644a6f3fc6b788d3a591563aff71f836 (patch) | |
tree | f615b0d88e2039ebc0ada2daf5009411f43febb9 /drivers/md/bitmap.c | |
parent | e2269308359d5863b6aa1fcb95a425a2ab255f1f (diff) | |
parent | f6f94e2ab1b33f0082ac22d71f66385a60d8157f (diff) | |
download | kernel_samsung_crespo-4c2a1b86644a6f3fc6b788d3a591563aff71f836.zip kernel_samsung_crespo-4c2a1b86644a6f3fc6b788d3a591563aff71f836.tar.gz kernel_samsung_crespo-4c2a1b86644a6f3fc6b788d3a591563aff71f836.tar.bz2 |
Merge branch 'master' of /home/davem/src/GIT/linux-2.6/
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 ed4900a..e4fb58d 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) 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; |