summaryrefslogtreecommitdiff
path: root/ufs/hyper.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-10-25 19:06:32 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-10-25 19:06:32 +0000
commitca358f9be145942c38d645f0bca24e5637794962 (patch)
tree5c1752a7db855b25a94efdbc9e07fc47e9fa500e /ufs/hyper.c
parent59fe81bbe11821d0c0f70e3caecb6164437d7ae5 (diff)
Formerly hyper.c.~15~
Diffstat (limited to 'ufs/hyper.c')
-rw-r--r--ufs/hyper.c5
1 files changed, 4 insertions, 1 deletions
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;
}