Re: [PATCH] f2fs: fix ifolio leak in f2fs_move_inline_dirents
From: Guanghui Yang
Date: Mon Jul 20 2026 - 21:57:22 EST
You are right. I misread the condition.
When err is non-zero, f2fs_put_dnode() is called regardless of need_put,
so dn.inode_folio is released on the f2fs_reserve_block() error path.
The caller only releases ifolio on success because the error cleanup has
already been handled here.
Please ignore this patch. Sorry for the confusion.
Thanks,
Guanghui