summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-06-24 20:59:05 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-06-24 20:59:05 +0000
commit4743827a8b5c02dc98eb539af073f9cfd280e414 (patch)
tree4b0e12962c83c9426b8b0e89c62d151e8d4c8dce
parent88253a56136a2800ebd59d72aafdd04c630bc316 (diff)
(diskfs_shutdown_pager): Don't shutdown DISKPAGER ever, just sync it
instead.
-rw-r--r--ufs/pager.c4
1 files changed, 2 insertions, 2 deletions
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. */