[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<173747883624.55169.5980716764876460895.git-patchwork-notify@kernel.org>
Date: Tue, 21 Jan 2025 17:00:36 +0000
From: patchwork-bot+f2fs@...nel.org
To: Jaegeuk Kim <jaegeuk@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-f2fs-devel@...ts.sourceforge.net
Subject: Re: [f2fs-dev] [PATCH] f2fs: avoid trying to get invalid block address
Hello:
This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@...nel.org>:
On Fri, 17 Jan 2025 22:09:55 +0000 you wrote:
> In f2fs_new_inode(), if we fail to get a new inode, we go iput(), followed by
> f2fs_evict_inode(). If the inode is not marked as bad, it'll try to call
> f2fs_remove_inode_page() which tries to read the inode block given node id.
> But, there's no block address allocated yet, which gives a chance to access
> a wrong block address, if the block device has some garbage data in NAT table.
>
> We need to make sure NAT table should have zero data for all the unallocated
> node ids, but also would be better to take this unnecessary path as well.
> Let's mark the faild inode as bad.
>
> [...]
Here is the summary with links:
- [f2fs-dev] f2fs: avoid trying to get invalid block address
https://git.kernel.org/jaegeuk/f2fs/c/e02938613eb2
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists