summaryrefslogtreecommitdiff
path: root/ufs
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
commitfce47a851905031cc8359a2b0feaa9934e7f082a (patch)
tree78f1fe67607be15b7ab5c34972b06f69c6e85134 /ufs
parent29b0676739a5668d674aa2c41ca45a6fee9119e4 (diff)
(diskfs_set_hypermetadata): Deallocate BUF in the right place.
Diffstat (limited to 'ufs')
-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);
}