diff options
-rw-r--r-- | ufs/hyper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ufs/hyper.c b/ufs/hyper.c index 9f8bd8d5..94fd209c 100644 --- a/ufs/hyper.c +++ b/ufs/hyper.c @@ -132,10 +132,10 @@ diskfs_set_hypermetadata (int wait, int clean) if (!err) { bcopy (csum, (void *) buf, sblock->fs_cssize); - (wait ? dev_write_sync : dev_write) (fsbtodb (sblock, sblock->fs_csaddr), - buf, bufsize); + dev_write_sync (fsbtodb (sblock, sblock->fs_csaddr), buf, bufsize); csum_dirty = 0; } + vm_deallocate (mach_task_self (), buf, bufsize); spin_unlock (&alloclock); } |