aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorZhang Yi <[email protected]>2025-04-23 08:52:49 +0000
committerTheodore Ts'o <[email protected]>2025-05-14 14:42:12 +0000
commit53ce42accd2002cc490fc86000ac532530507a74 (patch)
tree4bbc1e293a0ef1f538188c6ffac50b76cd93f5f6 /fs/ext4/fast_commit.c
parentext4: inline: fix len overflow in ext4_prepare_inline_data (diff)
downloadkernel-53ce42accd2002cc490fc86000ac532530507a74.tar.gz
kernel-53ce42accd2002cc490fc86000ac532530507a74.zip
ext4: ext4: unify EXT4_EX_NOCACHE|NOFAIL flags in ext4_ext_remove_space()
When removing space, we should use EXT4_EX_NOCACHE because we don't need to cache extents, and we should also use EXT4_EX_NOFAIL to prevent metadata inconsistencies that may arise from memory allocation failures. While ext4_ext_remove_space() already uses these two flags in most places, they are missing in ext4_ext_search_right() and read_extent_tree_block() calls. Unify the flags to ensure consistent behavior throughout the extent removal process. Signed-off-by: Zhang Yi <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions