summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-03-17 04:19:19 +0000
committerdg <dg@FreeBSD.org>1995-03-17 04:19:19 +0000
commit865b8325a4b6237f192b4c21e221c3c003e8bef1 (patch)
treeb922e5dd9e479cefad2d0990792143acc20ed05c
parent14517b375e8c0910509b2dd2cf6d6d95a681500e (diff)
downloadFreeBSD-src-865b8325a4b6237f192b4c21e221c3c003e8bef1.zip
FreeBSD-src-865b8325a4b6237f192b4c21e221c3c003e8bef1.tar.gz
Call dev_shutdownall() just after unmounting filesystems.
-rw-r--r--sys/amd64/amd64/machdep.c4
-rw-r--r--sys/i386/i386/machdep.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index 0b0064c..be5807a 100644
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.113 1995/03/07 19:58:02 davidg Exp $
+ * $Id: machdep.c,v 1.114 1995/03/16 18:11:27 bde Exp $
*/
#include "npx.h"
@@ -60,6 +60,7 @@
#include <sys/sysent.h>
#include <sys/tty.h>
#include <sys/sysctl.h>
+#include <sys/devconf.h>
#ifdef SYSVSHM
#include <sys/shm.h>
@@ -791,6 +792,7 @@ boot(arghowto)
vfs_unmountall();
}
DELAY(100000); /* wait for console output to finish */
+ dev_shutdownall(FALSE);
}
splhigh();
devtype = major(rootdev);
diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c
index 0b0064c..be5807a 100644
--- a/sys/i386/i386/machdep.c
+++ b/sys/i386/i386/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.113 1995/03/07 19:58:02 davidg Exp $
+ * $Id: machdep.c,v 1.114 1995/03/16 18:11:27 bde Exp $
*/
#include "npx.h"
@@ -60,6 +60,7 @@
#include <sys/sysent.h>
#include <sys/tty.h>
#include <sys/sysctl.h>
+#include <sys/devconf.h>
#ifdef SYSVSHM
#include <sys/shm.h>
@@ -791,6 +792,7 @@ boot(arghowto)
vfs_unmountall();
}
DELAY(100000); /* wait for console output to finish */
+ dev_shutdownall(FALSE);
}
splhigh();
devtype = major(rootdev);
OpenPOWER on IntegriCloud