diff --git a/fs/f2fs/segment.h b/fs/f2fs/segment.h index 5e8ad4280a5016d293817115a31a94daaf8d2d49..31846b0fcb957908f45e7cfbc3e6aa7e15a0373d 100644 --- a/fs/f2fs/segment.h +++ b/fs/f2fs/segment.h @@ -495,7 +495,7 @@ static inline bool need_SSR(struct f2fs_sb_info *sbi) return false; return free_sections(sbi) <= (node_secs + 2 * dent_secs + imeta_secs + - reserved_sections(sbi) + 1); + 2 * reserved_sections(sbi)); } static inline bool has_not_enough_free_secs(struct f2fs_sb_info *sbi,