[Phishing Risk] [External] [PATCH] erofs: clean up .read_folio() and .readahead()

Jia Zhu zhujia.zj at bytedance.com
Thu Sep 22 12:30:06 AEST 2022


在 2022/9/19 17:20, Jingbo Xu 写道:
> The implementation of these two functions in fscache mode is almost the
> same. Extract the same part as a generic helper to remove the code
> duplication.
> 
> Signed-off-by: Jingbo Xu <jefflexu at linux.alibaba.com>
Reviewed-by: Jia Zhu <zhujia.zj at bytedance.com>
> ---
>   fs/erofs/fscache.c | 210 +++++++++++++++++----------------------------
>   1 file changed, 80 insertions(+), 130 deletions(-)
> 


More information about the Linux-erofs mailing list