Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176093
b: refs/heads/master
c: ffa2332
h: refs/heads/master
i:
  176091: 8378346
v: v3
  • Loading branch information
NeilBrown committed Dec 14, 2009
1 parent 8cf1bfa commit b88f125
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ece5cff0da9e696c360fff592cb5f51b6419e4d6
refs/heads/master: ffa23322b1596bb1a115e767d4251b62842adc23
6 changes: 6 additions & 0 deletions trunk/drivers/md/bitmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1566,6 +1566,12 @@ void bitmap_dirty_bits(struct bitmap *bitmap, unsigned long s, unsigned long e)
sector_t sec = (sector_t)chunk << CHUNK_BLOCK_SHIFT(bitmap);
bitmap_set_memory_bits(bitmap, sec, 1);
bitmap_file_set_bit(bitmap, sec);
if (sec < bitmap->mddev->recovery_cp)
/* We are asserting that the array is dirty,
* so move the recovery_cp address back so
* that it is obvious that it is dirty
*/
bitmap->mddev->recovery_cp = sec;
}
}

Expand Down

0 comments on commit b88f125

Please sign in to comment.