Loading fs/fuse/file.c +2 −1 Original line number Diff line number Diff line Loading @@ -809,8 +809,10 @@ static int fuse_readpages_fill(void *_data, struct page *page) return -ENOMEM; } lock_page(newpage); err = replace_page_cache_page(oldpage, newpage, GFP_KERNEL); if (err) { unlock_page(newpage); __free_page(newpage); page_cache_release(oldpage); return err; Loading @@ -820,7 +822,6 @@ static int fuse_readpages_fill(void *_data, struct page *page) * Decrement the count on new page to make page cache the only * owner of it */ lock_page(newpage); put_page(newpage); lru_cache_add_file(newpage); Loading Loading
fs/fuse/file.c +2 −1 Original line number Diff line number Diff line Loading @@ -809,8 +809,10 @@ static int fuse_readpages_fill(void *_data, struct page *page) return -ENOMEM; } lock_page(newpage); err = replace_page_cache_page(oldpage, newpage, GFP_KERNEL); if (err) { unlock_page(newpage); __free_page(newpage); page_cache_release(oldpage); return err; Loading @@ -820,7 +822,6 @@ static int fuse_readpages_fill(void *_data, struct page *page) * Decrement the count on new page to make page cache the only * owner of it */ lock_page(newpage); put_page(newpage); lru_cache_add_file(newpage); Loading