summaryrefslogtreecommitdiff
path: root/ufs
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
commit823bc11ec71d8d24efac26a4d38abe33673e4e5e (patch)
tree1aea94f0591a61c55791b2fb9eaaea86241e5698 /ufs
parent8e13e371ec916354c0738bee727816288e61ff5c (diff)
Formerly hyper.c.~15~
Diffstat (limited to 'ufs')
-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;
}