From 865f3d52f7513d33b680a3396dbc98674eb107d1 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(-) 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