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-08-01 13:40:59 -04:00
parent 67ae352618
commit d9394cb084
+1 -1
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;