diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-10-25 19:06:32 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-10-25 19:06:32 +0000 |
commit | 823bc11ec71d8d24efac26a4d38abe33673e4e5e (patch) | |
tree | 1aea94f0591a61c55791b2fb9eaaea86241e5698 | |
parent | 8e13e371ec916354c0738bee727816288e61ff5c (diff) |
Formerly hyper.c.~15~
-rw-r--r-- | ufs/hyper.c | 5 |
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; } |