summaryrefslogtreecommitdiff
path: root/ufs
diff options
context:
space:
mode:
Diffstat (limited to 'ufs')
-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. */