Re: [f2fs-dev] [PATCH v2] f2fs: initialize ino_entry_info before checkpoint load
From: patchwork-bot+f2fs
Date: Sun May 10 2026 - 21:43:16 EST
Hello:
This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@xxxxxxxxxx>:
On Sun, 10 May 2026 09:53:36 +0530 you wrote:
> When f2fs_get_valid_checkpoint() fails during mount (e.g. due to an
> invalid checkpoint CRC on a malformed image), f2fs_fill_super() takes
> an error path that eventually calls iput() on the root inode. This
> invokes f2fs_drop_inode() -> f2fs_exist_written_data(), which acquires
> sbi->im[]->ino_lock. However, f2fs_init_ino_entry_info() has not run
> yet at this point, so the spinlock is uninitialized and lockdep
> complains:
>
> [...]
Here is the summary with links:
- [f2fs-dev,v2] f2fs: initialize ino_entry_info before checkpoint load
https://git.kernel.org/jaegeuk/f2fs/c/16c55b3147cc
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html