Re: [f2fs-dev] [PATCH] f2fs: fix ifolio memory leak in f2fs_move_inline_dirents error path

patchwork-bot+f2fs
2025-10-02T20:50:16Z

Hello:

This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@kernel.org>:

On Tue, 30 Sep 2025 17:16:21 +0800 you wrote:
> From: Haofeng Li <lihaofeng@kylinos.cn>
>
> Fixes a memory leak issue in f2fs_move_inline_dirents() where
> the ifolio is not properly released in certain error paths.
>
> Problem Analysis:
> - In f2fs_try_convert_inline_dir(), ifolio is acquired via f2fs_get_inode_folio()
> - When do_convert_inline_dir() fails, the caller expects ifolio to be released
> - However, in f2fs_move_inline_dirents(), two specific error paths don't release ifolio
>
> [...]

Here is the summary with links:
- [f2fs-dev] f2fs: fix ifolio memory leak in f2fs_move_inline_dirents error path
https://git.kernel.org/jaegeuk/f2fs/c/9fc1840e0217

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.