Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45841
b: refs/heads/master
c: 1031be7
h: refs/heads/master
i:
  45839: 248a152
v: v3
  • Loading branch information
NeilBrown authored and Linus Torvalds committed Jan 26, 2007
1 parent aeb0b27 commit 0bfdbca
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 3eda22d19b76b15ef3420b251bd47a0ba0127589
refs/heads/master: 1031be7a5fafd3a858dfaabb74d98f9ca20744a8
3 changes: 2 additions & 1 deletion trunk/drivers/md/md.c
Original file line number Diff line number Diff line change
Expand Up @@ -1633,7 +1633,8 @@ static void md_update_sb(mddev_t * mddev, int force_change)
* and 'events' is odd, we can roll back to the previous clean state */
if (nospares
&& (mddev->in_sync && mddev->recovery_cp == MaxSector)
&& (mddev->events & 1))
&& (mddev->events & 1)
&& mddev->events != 1)
mddev->events--;
else {
/* otherwise we have to go forward and ... */
Expand Down

0 comments on commit 0bfdbca

Please sign in to comment.