summaryrefslogtreecommitdiff
path: root/ufs/pager.c
diff options
context:
space:
mode:
Diffstat (limited to 'ufs/pager.c')
-rw-r--r--ufs/pager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ufs/pager.c b/ufs/pager.c
index fd148d8d..73f1b5d7 100644
--- a/ufs/pager.c
+++ b/ufs/pager.c
@@ -546,6 +546,7 @@ diskfs_shutdown_pager ()
pager_shutdown (p->p);
}
+ copy_sblock ();
write_all_disknodes ();
pager_traverse (shutdown_one);
}
@@ -562,6 +563,7 @@ diskfs_sync_everything (int wait)
sync_disk (wait);
}
+ copy_sblock ();
write_all_disknodes ();
pager_traverse (sync_one);
}