Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139901
b: refs/heads/master
c: d0a4bb4
h: refs/heads/master
i:
  139899: 0b3bce7
v: v3
  • Loading branch information
NeilBrown committed Mar 31, 2009
1 parent 47b042d commit 0575d3b
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 1187cf0a3c8b647d08bc86e043563c8d2a327adc
refs/heads/master: d0a4bb492772ce5c4bdfba3744a99ed6f6fb238f
3 changes: 3 additions & 0 deletions trunk/drivers/md/bitmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1307,6 +1307,9 @@ void bitmap_endwrite(struct bitmap *bitmap, sector_t offset, unsigned long secto
PRINTK(KERN_DEBUG "dec write-behind count %d/%d\n",
atomic_read(&bitmap->behind_writes), bitmap->max_write_behind);
}
if (bitmap->mddev->degraded)
/* Never clear bits or update events_cleared when degraded */
success = 0;

while (sectors) {
int blocks;
Expand Down

0 comments on commit 0575d3b

Please sign in to comment.