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
commit6ae06cb4a632dbdf3fae000b1930e4c517ac71a6 (patch)
treef7974c8e2254a34e85af37ab6f24ba2eddc99785
parent711fd92fac5695d56728619293a42d528917fa42 (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. */