From fb671ed18f55d956b661b71db026610b46c3979c Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 2 May 1996 14:56:04 +0000 Subject: (offer_data): Offer pages at ADDR each time through the loop, not the same page over and over. --- ufs/sizes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ufs/sizes.c') diff --git a/ufs/sizes.c b/ufs/sizes.c index 5694c0b5..8bacb590 100644 --- a/ufs/sizes.c +++ b/ufs/sizes.c @@ -367,7 +367,7 @@ offer_data (struct node *np, assert (np->dn->fileinfo); for (addr = start; addr < start + len; addr += vm_page_size) - pager_offer_page (np->dn->fileinfo->p, 1, 0, start, buf + (addr - start)); + pager_offer_page (np->dn->fileinfo->p, 1, 0, addr, buf + (addr - start)); } /* Logical block LBN of node NP has been extended with ffs_realloccg. -- cgit v1.2.3