From ca358f9be145942c38d645f0bca24e5637794962 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 25 Oct 1994 19:06:32 +0000 Subject: Formerly hyper.c.~15~ --- ufs/hyper.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ufs') diff --git a/ufs/hyper.c b/ufs/hyper.c index e73f78b8..5e9eb12f 100644 --- a/ufs/hyper.c +++ b/ufs/hyper.c @@ -123,7 +123,9 @@ copy_sblock () if (csum_dirty) { bcopy (csum, disk_image + fsaddr (sblock, sblock->fs_csaddr), - fsaddr (sblock, howmany (sblock->fs_cssize, sblock->fs_fsize))); + fragroundup (sblock, sblock->fs_cssize)); + record_poke (disk_image + fsaddr (sblock, sblock->fs_csaddr), + fragroundup (sblock, sblock->fs_cssize)); csum_dirty = 0; } @@ -153,6 +155,7 @@ copy_sblock () } else bcopy (sblock, disk_image + SBOFF, SBSIZE); + record_poke (disk_image + SBOFF, SBSIZE); sblock_dirty = 0; } -- cgit v1.2.3