From 4743827a8b5c02dc98eb539af073f9cfd280e414 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Mon, 24 Jun 1996 20:59:05 +0000 Subject: (diskfs_shutdown_pager): Don't shutdown DISKPAGER ever, just sync it instead. --- ufs/pager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ufs') diff --git a/ufs/pager.c b/ufs/pager.c index 0da2609e..bea290ab 100644 --- a/ufs/pager.c +++ b/ufs/pager.c @@ -742,7 +742,7 @@ diskfs_shutdown_pager () error_t shutdown_one (void *arg) { struct pager *p = arg; - /* Make sure the disk pager is done last. */ + /* Don't ever shut down the disk pager. */ if (p != disk_pager) pager_shutdown (p); return 0; @@ -751,7 +751,7 @@ diskfs_shutdown_pager () copy_sblock (); write_all_disknodes (); ports_bucket_iterate (pager_bucket, shutdown_one); - pager_shutdown (disk_pager); + sync_disk (1); } /* Sync all the pagers. */ -- cgit v1.2.3