On Sat, Mar 01, 2025 at 09:15:53AM +0800, Chao Yu wrote:
> > struct page *f2fs_get_node_page(struct f2fs_sb_info *sbi, pgoff_t nid)
> > {
> > - return __get_node_page(sbi, nid, NULL, 0);
> > + struct folio *folio = __get_node_folio(sbi, nid, NULL, 0);
> > +
>
> if (IS_ERR(folio))
> return ERR_CAST(folio));
No need. It's the same result, we use this pattern extensively, and
this is a temporary wrapper that has to go away in the next six to nine
months anyway.
_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel