summaryrefslogtreecommitdiff
path: root/ufs/hyper.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-11-11 16:46:04 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-11-11 16:46:04 +0000
commit625da34c7cbb8896caa4b17fca8d16284ee48132 (patch)
tree3674aa9d3e2a541bbcb8f21cf80cea8a81ca5136 /ufs/hyper.c
parent33f49d636fa6189f04e7d1ed5b690e34a4c3205e (diff)
(diskfs_set_hypermetadata): Deallocate BUF in the right place.
Diffstat (limited to 'ufs/hyper.c')
-rw-r--r--ufs/hyper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ufs/hyper.c b/ufs/hyper.c
index 94fd209c..8a556cef 100644
--- a/ufs/hyper.c
+++ b/ufs/hyper.c
@@ -134,8 +134,8 @@ diskfs_set_hypermetadata (int wait, int clean)
bcopy (csum, (void *) buf, sblock->fs_cssize);
dev_write_sync (fsbtodb (sblock, sblock->fs_csaddr), buf, bufsize);
csum_dirty = 0;
+ vm_deallocate (mach_task_self (), buf, bufsize);
}
- vm_deallocate (mach_task_self (), buf, bufsize);
spin_unlock (&alloclock);
}