Re: [f2fs-dev] [PATCH] f2fs: don't BUG_ON an inconsistent node ino in roll-forward recovery

From: patchwork-bot+f2fs

Date: Thu Dec 03 2026 - 18:20:49 EST


Hello:

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

On Wed, 25 Nov 2026 15:39:56 +0800 you wrote:
> From: Zhan Xusheng <zhanxusheng@xxxxxxxxxx>
>
> do_recover_data() asserts that the ino in the NAT entry of the node it
> recovers into matches the ino in the footer of the fsynced node block.
> Both are read from disk and nothing checks one against the other
> before, so mounting an image with a wrong ino in that NAT entry hits
> the f2fs_bug_on(): a kernel BUG with CONFIG_F2FS_CHECK_FS, and without
> it a warning, after which the NAT ino is written into the footer of the
> recovered node.
>
> [...]

Here is the summary with links:
- [f2fs-dev] f2fs: don't BUG_ON an inconsistent node ino in roll-forward recovery
https://git.kernel.org/jaegeuk/f2fs/c/0e1c368a033f

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