summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-05-02 14:56:04 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-05-02 14:56:04 +0000
commit865f3d52f7513d33b680a3396dbc98674eb107d1 (patch)
tree97f2aedb96a2e5261653fdd657dc54f8667660c3
parent90b39d103f3320eece0d1bfd12649144739be2de (diff)
(offer_data): Offer pages at ADDR each time through the loop, not the
same page over and over.
-rw-r--r--ufs/sizes.c2
1 files changed, 1 insertions, 1 deletions
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.