Implement ck1 patchset
/include/linux/pagemap.h
blob:716875e53520ecb4afe8ae7edd1e39a7eb75032a -> blob:8b6ba7bb695dfa3ebdfd8a70263f3b835535c0e4
--- include/linux/pagemap.h
+++ include/linux/pagemap.h
@@ -458,6 +458,8 @@ int add_to_page_cache_locked(struct page
pgoff_t index, gfp_t gfp_mask);
int add_to_page_cache_lru(struct page *page, struct address_space *mapping,
pgoff_t index, gfp_t gfp_mask);
+int __add_to_page_cache_lru(struct page *page, struct address_space *mapping,
+ pgoff_t offset, gfp_t gfp_mask, int tail);
extern void delete_from_page_cache(struct page *page);
extern void __delete_from_page_cache(struct page *page);
int replace_page_cache_page(struct page *old, struct page *new, gfp_t gfp_mask);