Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 97777
b: refs/heads/master
c: a6d8113
h: refs/heads/master
i:
  97775: c79feb0
v: v3
  • Loading branch information
Dan Williams authored and Linus Torvalds committed Jun 6, 2008
1 parent 45321bb commit 047e408
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: e0a115e5aa554b93150a8dc1c3fe15467708abb2
refs/heads/master: a6d8113a986c66aeb379a26b6e0062488b3e59e1
2 changes: 1 addition & 1 deletion trunk/drivers/md/md.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ static mddev_t * mddev_find(dev_t unit)
atomic_set(&new->active, 1);
spin_lock_init(&new->write_lock);
init_waitqueue_head(&new->sb_wait);
init_waitqueue_head(&new->recovery_wait);
new->reshape_position = MaxSector;
new->resync_max = MaxSector;
new->level = LEVEL_NONE;
Expand Down Expand Up @@ -5665,7 +5666,6 @@ void md_do_sync(mddev_t *mddev)
window/2,(unsigned long long) max_sectors/2);

atomic_set(&mddev->recovery_active, 0);
init_waitqueue_head(&mddev->recovery_wait);
last_check = 0;

if (j>2) {
Expand Down

0 comments on commit 047e408

Please sign in to comment.