From 338cd8f6bedec51188888255a64a213cdefc9e00 Mon Sep 17 00:00:00 2001 From: David Greenman Date: Wed, 28 Jun 1995 04:46:11 +0000 Subject: [PATCH] Killed redundant vnode_pager_umount() call. This is already done at FS unmount time. --- sys/amd64/amd64/machdep.c | 8 ++------ sys/i386/i386/machdep.c | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index 693e37577dc1..c637aff962c5 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.128 1995/05/30 07:59:33 rgrimes Exp $ + * $Id: machdep.c,v 1.129 1995/06/26 07:39:52 bde Exp $ */ #include "npx.h" @@ -821,11 +821,7 @@ boot(arghowto) waittime = 0; printf("\nsyncing disks... "); - /* - * Release inodes held by texts before update. - */ - if (panicstr == 0) - vnode_pager_umount(NULL); + sync(&proc0, NULL, NULL); for (iter = 0; iter < 20; iter++) { diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c index 693e37577dc1..c637aff962c5 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.128 1995/05/30 07:59:33 rgrimes Exp $ + * $Id: machdep.c,v 1.129 1995/06/26 07:39:52 bde Exp $ */ #include "npx.h" @@ -821,11 +821,7 @@ boot(arghowto) waittime = 0; printf("\nsyncing disks... "); - /* - * Release inodes held by texts before update. - */ - if (panicstr == 0) - vnode_pager_umount(NULL); + sync(&proc0, NULL, NULL); for (iter = 0; iter < 20; iter++) {