Re: [f2fs-dev] [PATCH v2 1/2] f2fs: fix to fetch ino via ino_of_node() under cache lock
From: patchwork-bot+f2fs
Date: Mon Oct 26 2026 - 11:40:19 EST
Hello:
This series was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@xxxxxxxxxx>:
On Mon, 26 Oct 2026 08:23:49 +0800 you wrote:
> From: Chao Yu <chao@xxxxxxxxxx>
>
> In f2fs_writeback_node_caches(), it's better to fetch ino via ino_of_node()
> under cache lock, otherwise, node cache content may become stale after cache
> is unlocked due to racing w/ truncation.
>
> Commit 493b9dc8b52c ("f2fs: cache: use node cache") fixes similar issue in
> f2fs_flush_inline_data() introduced in commit 34c061ad85a2 ("f2fs: Avoid double
> lock for cp_rwsem during checkpoint").
>
> [...]
Here is the summary with links:
- [f2fs-dev,v2,1/2] f2fs: fix to fetch ino via ino_of_node() under cache lock
https://git.kernel.org/jaegeuk/f2fs/c/cd6d8b189139
- [f2fs-dev,v2,2/2] f2fs: fix to update superblock crc in sanity_check_area_boundary()
https://git.kernel.org/jaegeuk/f2fs/c/f8f956c7ec8c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html