]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
f2fs: fix to remove unnecessary f2fs_bug_on() to avoid panic
authorChao Yu <chao@kernel.org>
Fri, 12 Jan 2024 19:41:31 +0000 (03:41 +0800)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:20:00 +0000 (18:20 -0400)
commit0386408036bfc8b50296d9e544ff91c4d52af2db
tree5a88f4baabce11004b0b62af3bbc85f8c7572415
parentbc1e39928c26df9e628f756398017e123827b976
f2fs: fix to remove unnecessary f2fs_bug_on() to avoid panic

[ Upstream commit b896e302f79678451a94769ddd9e52e954c64fbb ]

verify_blkaddr() will trigger panic once we inject fault into
f2fs_is_valid_blkaddr(), fix to remove this unnecessary f2fs_bug_on().

Fixes: 18792e64c86d ("f2fs: support fault injection for f2fs_is_valid_blkaddr()")
Reviewed-by: Daeho Jeong <daehojeong@google.com>
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/f2fs/f2fs.h