diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-05-02 14:56:04 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-05-02 14:56:04 +0000 |
commit | fb671ed18f55d956b661b71db026610b46c3979c (patch) | |
tree | f0027424bd05d8e4285ab31356130ed32ea27448 | |
parent | 8e5a77d20f35714cfd4428ad806807c512ea0bbf (diff) |
(offer_data): Offer pages at ADDR each time through the loop, not the
same page over and over.
-rw-r--r-- | ufs/sizes.c | 2 |
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. |