summaryrefslogtreecommitdiff
path: root/ufs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-04-30 17:38:37 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-04-30 17:38:37 +0000
commit6543cff32487429ee7705d594d68a50c8dfde7d3 (patch)
treeff2bd82995a8163eb4b4659354b51a5a8772cf8a /ufs
parent0816853fa183d6c2ef7be7eed865f8e1b0fde643 (diff)
(diskfs_grow): In last offer_data, don't offer a block number as an
address.
Diffstat (limited to 'ufs')
-rw-r--r--ufs/sizes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ufs/sizes.c b/ufs/sizes.c
index 98ec49d1..5694c0b5 100644
--- a/ufs/sizes.c
+++ b/ufs/sizes.c
@@ -615,7 +615,7 @@ diskfs_grow (struct node *np,
indirs[0].bno = bno;
write_disk_entry (siblock[indirs[0].offset], bno);
record_poke (siblock, sblock->fs_bsize);
- offer_data (np, lbn, sblock->fs_bsize, zeroblock);
+ offer_data (np, lbn * sblock->fs_bsize, sblock->fs_bsize, zeroblock);
}
out: