diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-06-24 20:59:05 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-06-24 20:59:05 +0000 |
commit | 4743827a8b5c02dc98eb539af073f9cfd280e414 (patch) | |
tree | 4b0e12962c83c9426b8b0e89c62d151e8d4c8dce /ufs | |
parent | 88253a56136a2800ebd59d72aafdd04c630bc316 (diff) |
(diskfs_shutdown_pager): Don't shutdown DISKPAGER ever, just sync it
instead.
Diffstat (limited to 'ufs')
-rw-r--r-- | ufs/pager.c | 4 |
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. */ |