summaryrefslogtreecommitdiff
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorwangzijie <wangzijie1@honor.com>2025-09-17 10:36:22 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2025-09-17 16:00:18 +0000
commit23361bd54966b437e1ed3eb1a704572f4b279e58 (patch)
tree55acd95a1fda3727ba8b37403a0f5467ee2a8ce8 /fs/ext4/fast_commit.c
parent8175c864391753b210f3dcfae1aeed686a226ebb (diff)
f2fs: fix infinite loop in __insert_extent_tree()
When we get wrong extent info data, and look up extent_node in rb tree, it will cause infinite loop (CONFIG_F2FS_CHECK_FS=n). Avoiding this by return NULL and print some kernel messages in that case. Signed-off-by: wangzijie <wangzijie1@honor.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions