summaryrefslogtreecommitdiff
path: root/ufs/hyper.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-10-13 23:20:07 +0000
committerMiles Bader <miles@gnu.org>1995-10-13 23:20:07 +0000
commit4beebf3b2380d1e478a896c1248e83776864e079 (patch)
tree9e5310e1c82468667b105e041e3b653254e43b91 /ufs/hyper.c
parent8c1ffd895f4cee0c588d3b8e123d0ef5ca979b76 (diff)
(diskfs_set_hypermetadata):
Use diskfs_device_{read,write}_synce instead of dev_{read,write}_sync.
Diffstat (limited to 'ufs/hyper.c')
-rw-r--r--ufs/hyper.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ufs/hyper.c b/ufs/hyper.c
index 36d71728..0aab1819 100644
--- a/ufs/hyper.c
+++ b/ufs/hyper.c
@@ -128,11 +128,13 @@ diskfs_set_hypermetadata (int wait, int clean)
bufsize = round_page (fragroundup (sblock, sblock->fs_cssize));
- err = dev_read_sync (fsbtodb (sblock, sblock->fs_csaddr), &buf, bufsize);
+ err = diskfs_device_read_sync (fsbtodb (sblock, sblock->fs_csaddr),
+ &buf, bufsize);
if (!err)
{
bcopy (csum, (void *) buf, sblock->fs_cssize);
- dev_write_sync (fsbtodb (sblock, sblock->fs_csaddr), buf, bufsize);
+ diskfs_device_write_sync (fsbtodb (sblock, sblock->fs_csaddr),
+ buf, bufsize);
csum_dirty = 0;
vm_deallocate (mach_task_self (), buf, bufsize);
}