]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/btrfs/compression.c
Btrfs: Fixes for 2.6.28-rc API changes
[linux-2.6-omap-h63xx.git] / fs / btrfs / compression.c
index bfd1512cce0a5616796b6328d22b581e7b3e3ace..df05f513e1ebcb2f4ae20511c1cc1165f26f83e4 100644 (file)
@@ -419,7 +419,7 @@ static noinline int add_ra_bio_pages(struct inode *inode,
                /* open coding of lru_cache_add, also not exported */
                page_cache_get(page);
                if (!pagevec_add(&pvec, page))
-                       __pagevec_lru_add(&pvec);
+                       __pagevec_lru_add_file(&pvec);
 
                end = last_offset + PAGE_CACHE_SIZE - 1;
                /*
@@ -475,7 +475,7 @@ next:
                last_offset += PAGE_CACHE_SIZE;
        }
        if (pagevec_count(&pvec))
-               __pagevec_lru_add(&pvec);
+               __pagevec_lru_add_file(&pvec);
        return 0;
 }