diff options
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bitmap.c b/drivers/md/bitmap.c index 048eec751474..cdf36b1e9aa6 100644 --- a/drivers/md/bitmap.c +++ b/drivers/md/bitmap.c | |||
@@ -1587,7 +1587,7 @@ static void bitmap_set_memory_bits(struct bitmap *bitmap, sector_t offset, int n | |||
1587 | } | 1587 | } |
1588 | if (!*bmc) { | 1588 | if (!*bmc) { |
1589 | struct page *page; | 1589 | struct page *page; |
1590 | *bmc = 1 | (needed ? NEEDED_MASK : 0); | 1590 | *bmc = 2 | (needed ? NEEDED_MASK : 0); |
1591 | bitmap_count_page(bitmap, offset, 1); | 1591 | bitmap_count_page(bitmap, offset, 1); |
1592 | page = filemap_get_page(bitmap, offset >> CHUNK_BLOCK_SHIFT(bitmap)); | 1592 | page = filemap_get_page(bitmap, offset >> CHUNK_BLOCK_SHIFT(bitmap)); |
1593 | set_page_attr(bitmap, page, BITMAP_PAGE_PENDING); | 1593 | set_page_attr(bitmap, page, BITMAP_PAGE_PENDING); |