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)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 6 Feb 2024 02:58:39 +0000 (18:58 -0800)
commitb896e302f79678451a94769ddd9e52e954c64fbb
treec96ccb50eef675864be1807b596ba4f2edd9da52
parent54607494875edd636aff3c21ace3ad9a7da758a9
f2fs: fix to remove unnecessary f2fs_bug_on() to avoid panic

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>
fs/f2fs/f2fs.h