kernel_samsung_a53x/fs/f2fs
LongPing Wei a7f5bbd773 f2fs: fix the wrong f2fs_bug_on condition in f2fs_do_replace_block
[ Upstream commit c3af1f13476ec23fd99c98d060a89be28c1e8871 ]

This f2fs_bug_on was introduced by commit 2c1905042c8c ("f2fs: check
segment type in __f2fs_replace_block") when there were only 6 curseg types.
After commit d0b9e42ab615 ("f2fs: introduce inmem curseg") was introduced,
the condition should be changed to checking curseg->seg_type.

Fixes: d0b9e42ab615 ("f2fs: introduce inmem curseg")
Signed-off-by: LongPing Wei <weilongping@oppo.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-17 13:24:11 +01:00
..
acl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
acl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
checkpoint.c f2fs: use copy_page for full page copy 2024-11-17 17:41:42 +01:00
compress.c f2fs: compress: remove unneeded preallocation 2024-11-19 12:27:02 +01:00
data.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debug.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dir.c Revert "f2fs: prevent possible int overflow in dir_block_index()" 2024-11-24 00:23:15 +01:00
extent_cache.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
f2fs.h f2fs: fix typo 2024-11-23 23:21:26 +01:00
file.c Revert "f2fs: Require FMODE_WRITE for atomic write ioctls" 2024-11-24 00:23:11 +01:00
gc.c f2fs: set ioprio of GC kthread to idle 2024-11-19 17:55:41 +01:00
gc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hash.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inline.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inode.c f2fs: fix to do sanity check on i_xattr_nid in sanity_check_inode() 2024-11-19 12:27:13 +01:00
Kconfig f2fs: Add support for reporting a fake kernel version to fsck 2024-11-17 17:43:26 +01:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
namei.c f2fs: fix to avoid dirent corruption 2024-11-18 12:12:39 +01:00
node.c f2fs: fix to release node block count in error path of f2fs_new_node_page() 2024-11-19 12:27:05 +01:00
node.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
recovery.c f2fs: fix write pointers on zoned device after roll forward 2024-11-18 12:13:17 +01:00
segment.c f2fs: fix the wrong f2fs_bug_on condition in f2fs_do_replace_block 2024-12-17 13:24:11 +01:00
segment.h f2fs: fix start segno of large section 2024-11-23 23:20:16 +01:00
shrinker.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
super.c Revert "f2fs: avoid potential int overflow in sanity_check_area_boundary()" 2024-11-24 00:23:15 +01:00
sysfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
verity.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xattr.c Revert "f2fs: fix to update i_ctime in __f2fs_setxattr()" 2024-11-24 00:23:20 +01:00
xattr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00