[PATCH v2] f2fs: fix has_curseg_enough_space to check all data segments for dentry blocks

From: Xiaole He
Date: Tue Nov 11 2025 - 01:07:49 EST


Hi Yongpeng,

Thanks for your feedback! I've updated the patch per your suggestions:
- Merged the dentry block check into the main loop to avoid duplication
- Check data_blocks + dent_blocks for data segments since both can write to the same segment

Please see the v2 patch.

Best regards,
Xiaole