Merge "fs: fuse: Add replacment for CMA pages into the LRU cache"

This commit is contained in:
Linux Build Service Account 2017-01-19 19:10:21 -08:00 committed by Gerrit - the friendly Code Review server
commit e67133fb18

View file

@ -928,6 +928,8 @@ static int fuse_readpages_fill(void *_data, struct page *page)
lock_page(newpage);
put_page(newpage);
lru_cache_add_file(newpage);
/* finally release the old page and swap pointers */
unlock_page(oldpage);
page_cache_release(oldpage);