Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210306
b: refs/heads/master
c: bd52b74
h: refs/heads/master
v: v3
  • Loading branch information
Dan Williams authored and NeilBrown committed Aug 30, 2010
1 parent 873d42e commit f0a3c9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 7c44ece988a3419e51c833cf14be186a22224dd1
refs/heads/master: bd52b746262c8d77e73903d6608014fb2fcdcd9d
5 changes: 3 additions & 2 deletions trunk/drivers/md/md.c
Original file line number Diff line number Diff line change
Expand Up @@ -2167,9 +2167,10 @@ static void md_update_sb(mddev_t * mddev, int force_change)
rdev->recovery_offset = mddev->curr_resync_completed;

}
if (mddev->external || !mddev->persistent) {
if (!mddev->persistent) {
if (!mddev->external)
clear_bit(MD_CHANGE_CLEAN, &mddev->flags);
clear_bit(MD_CHANGE_DEVS, &mddev->flags);
clear_bit(MD_CHANGE_CLEAN, &mddev->flags);
wake_up(&mddev->sb_wait);
return;
}
Expand Down

0 comments on commit f0a3c9b

Please sign in to comment.