From 3e3eb41588da90f28553618e95fc12b0f828f76b Mon Sep 17 00:00:00 2001 From: David Greenman Date: Fri, 17 Mar 1995 04:19:19 +0000 Subject: [PATCH] Call dev_shutdownall() just after unmounting filesystems. --- sys/amd64/amd64/machdep.c | 4 +++- sys/i386/i386/machdep.c | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index 0b0064c3b754..be5807aaf414 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 #include #include +#include #ifdef SYSVSHM #include @@ -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 0b0064c3b754..be5807aaf414 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 #include #include +#include #ifdef SYSVSHM #include @@ -791,6 +792,7 @@ boot(arghowto) vfs_unmountall(); } DELAY(100000); /* wait for console output to finish */ + dev_shutdownall(FALSE); } splhigh(); devtype = major(rootdev);