Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108522
b: refs/heads/master
c: 2b25000
h: refs/heads/master
v: v3
  • Loading branch information
NeilBrown committed Aug 5, 2008
1 parent cf54323 commit fca9e4e
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 19052c0e85a3e9d3b7d190b29fcdbf0e6c105381
refs/heads/master: 2b25000bf5157c28d8591f03f0575248a8cbd900
6 changes: 5 additions & 1 deletion trunk/drivers/md/md.c
Original file line number Diff line number Diff line change
Expand Up @@ -6237,7 +6237,11 @@ static int md_notify_reboot(struct notifier_block *this,

for_each_mddev(mddev, tmp)
if (mddev_trylock(mddev)) {
do_md_stop (mddev, 1, 0);
/* Force a switch to readonly even array
* appears to still be in use. Hence
* the '100'.
*/
do_md_stop (mddev, 1, 100);
mddev_unlock(mddev);
}
/*
Expand Down

0 comments on commit fca9e4e

Please sign in to comment.