Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26974
b: refs/heads/master
c: c71d488
h: refs/heads/master
v: v3
  • Loading branch information
Neil Brown authored and Linus Torvalds committed May 26, 2006
1 parent fb3fcf5 commit 888af11
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 309c68cc17ba1f6f733038562b7469b5340e1a1d
refs/heads/master: c71d48877e6f3d5e3eb22fcaaa612081bce3d089
4 changes: 3 additions & 1 deletion trunk/drivers/md/md.c
Original file line number Diff line number Diff line change
Expand Up @@ -5028,8 +5028,10 @@ static int md_notify_reboot(struct notifier_block *this,
printk(KERN_INFO "md: stopping all md devices.\n");

ITERATE_MDDEV(mddev,tmp)
if (mddev_trylock(mddev))
if (mddev_trylock(mddev)) {
do_md_stop (mddev, 1);
mddev_unlock(mddev);
}
/*
* certain more exotic SCSI devices are known to be
* volatile wrt too early system reboots. While the
Expand Down

0 comments on commit 888af11

Please sign in to comment.