Commit 187d0345 authored by Gao Xiang's avatar Gao Xiang Committed by Treehugger Robot
Browse files

BACKPORT: erofs: adapt managed inode operations into folios



This patch gets rid of erofs_try_to_free_cached_page() and fold it
into .release_folio().

It also moves managed inode operations into zdata.c, which simplifies
the code a bit.  No logic changes.

Signed-off-by: default avatarGao Xiang <hsiangkao@linux.alibaba.com>
Reviewed-by: default avatarYue Hu <huyue2@coolpad.com>
Link: https://lore.kernel.org/r/20230526201459.128169-5-hsiangkao@linux.alibaba.com



Bug: 318378021
Change-Id: I5cb1e44769f68edce788cb4f8084bb3d45b594b3
(cherry picked from commit 7b4e372c)
[dhavale: changes to internal.h applied manually]
Signed-off-by: default avatarSandeep Dhavale <dhavale@google.com>
parent 3d931826
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment