diff options
author | LongPing Wei <weilongping@oppo.com> | 2024-10-21 10:31:47 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2024-11-01 01:19:01 +0000 |
commit | c3af1f13476ec23fd99c98d060a89be28c1e8871 (patch) | |
tree | bd32fd105a5a688c82413eeb4b399a8ab016a910 /fs/tracefs | |
parent | 5bc5aae843128aefb1c55d769d057c92dd8a32c9 (diff) |
f2fs: fix the wrong f2fs_bug_on condition in f2fs_do_replace_block
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>
Diffstat (limited to 'fs/tracefs')
0 files changed, 0 insertions, 0 deletions