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

patchwork-bot+f2fs--- via Linux-f2fs-devel <[email protected]> Tue, 28 Jul 2026 01:00:20 +0000
Newsgroups net.sourceforge.lists.linux-f2fs-devel,org.kernel.vger.linux-kernel,org.kernel.vger.stable
Message-ID <178520042088.1482784.9634568618514854667.git-patchwork-notify@kernel.org>
Hello:

This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <[email protected]>:

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




_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel