Re: [f2fs-dev] [PATCH v2] f2fs: fix dentry folio leak in find_in_level

From: patchwork-bot+f2fs

Date: Mon Jul 27 2026 - 21:04:27 EST


Hello:

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

On Sun, 19 Jul 2026 16:45:14 +0800 you wrote:
> find_in_level() gets a dentry folio with f2fs_find_data_folio() before
> calling find_in_block(). If find_in_block() returns an error, the
> function stores the error in res_folio and breaks out of the loop without
> dropping the dentry folio.
>
> This leaks the folio reference on the find_in_block() error path. Drop
> the dentry folio before returning the error to the caller.
>
> [...]

Here is the summary with links:
- [f2fs-dev,v2] f2fs: fix dentry folio leak in find_in_level
https://git.kernel.org/jaegeuk/f2fs/c/13f88c0865be

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html