From 6543cff32487429ee7705d594d68a50c8dfde7d3 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 30 Apr 1996 17:38:37 +0000 Subject: (diskfs_grow): In last offer_data, don't offer a block number as an address. --- ufs/sizes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3