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:
Auke Kok
2023-05-10 19:26:06 -04:00
parent 7006a84d96
commit 430960ef3c

View File

@@ -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;