Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292806
b: refs/heads/master
c: ecb178b
h: refs/heads/master
v: v3
  • Loading branch information
majianpeng authored and NeilBrown committed Mar 19, 2012
1 parent 74491c7 commit 21799ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d0962936bff659d20522555b517582a2715fd23f
refs/heads/master: ecb178bb2b154a40cfae9fa4c42e62ccfa81ac6b
2 changes: 1 addition & 1 deletion trunk/drivers/md/md.c
Original file line number Diff line number Diff line change
Expand Up @@ -8021,7 +8021,7 @@ void md_ack_all_badblocks(struct badblocks *bb)
return;
write_seqlock_irq(&bb->lock);

if (bb->changed == 0) {
if (bb->changed == 0 && bb->unacked_exist) {
u64 *p = bb->page;
int i;
for (i = 0; i < bb->count ; i++) {
Expand Down

0 comments on commit 21799ad

Please sign in to comment.