summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-10-13 23:18:06 +0000
committerMiles Bader <miles@gnu.org>1995-10-13 23:18:06 +0000
commit4ae13415cd988b751cba08b7431c18d31e249be8 (patch)
treea2012a235bbaa5ec75fb63f4047717342666c507
parentcc4acfe8bf9838773321e369b4c995ea5a655032 (diff)
(diskfs_grow):
Use diskfs_device_{read,write}_synce instead of dev_{read,write}_sync.
-rw-r--r--ufs/sizes.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/ufs/sizes.c b/ufs/sizes.c
index 8fc0b029..f4f81393 100644
--- a/ufs/sizes.c
+++ b/ufs/sizes.c
@@ -411,7 +411,7 @@ diskfs_grow (struct node *np,
record_poke (di, sizeof (struct dinode));
np->dn_set_ctime = 1;
- dev_write_sync (fsbtodb (sblock, bno) + btodb (osize),
+ diskfs_device_write_sync (fsbtodb (sblock, bno) + btodb (osize),
zeroblock, sblock->fs_bsize - osize);
if (bno != old_pbn)
@@ -446,7 +446,7 @@ diskfs_grow (struct node *np,
record_poke (di, sizeof (struct dinode));
np->dn_set_ctime = 1;
- dev_write_sync (fsbtodb (sblock, bno) + btodb (osize),
+ diskfs_device_write_sync (fsbtodb (sblock, bno) + btodb (osize),
zeroblock, size - osize);
if (bno != old_pbn)
@@ -472,7 +472,7 @@ diskfs_grow (struct node *np,
record_poke (di, sizeof (struct dinode));
np->dn_set_ctime = 1;
- dev_write_sync (fsbtodb (sblock, bno), zeroblock, size);
+ diskfs_device_write_sync (fsbtodb (sblock, bno), zeroblock, size);
}
}
else
@@ -562,7 +562,8 @@ diskfs_grow (struct node *np,
goto out;
indirs[0].bno = siblock[indirs[0].offset] = bno;
record_poke (siblock, sblock->fs_bsize);
- dev_write_sync (fsbtodb (sblock, bno), zeroblock, sblock->fs_bsize);
+ diskfs_device_write_sync (fsbtodb (sblock, bno),
+ zeroblock, sblock->fs_bsize);
}
out: