mirror of
https://github.com/versity/scoutfs.git
synced 2026-01-06 20:16:25 +00:00
page_cache_release() is removed. put_page() instead.
Even in 3.x, this already was equivalent. Signed-off-by: Auke Kok <auke.kok@versity.com>
This commit is contained in:
@@ -761,7 +761,7 @@ static int scoutfs_readpages(struct file *file, struct address_space *mapping,
|
||||
goto out;
|
||||
if (ret > 0) {
|
||||
list_del(&page->lru);
|
||||
page_cache_release(page);
|
||||
put_page(page);
|
||||
if (--nr_pages == 0) {
|
||||
ret = 0;
|
||||
goto out;
|
||||
|
||||
Reference in New Issue
Block a user