summaryrefslogtreecommitdiff
path: root/ufs/hyper.c
diff options
context:
space:
mode:
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);
}