diff --git a/[refs] b/[refs] index dbdcfce73127..338a2b76e80c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5ac206cf4f9aad871aa1f1dd653a3404092db56c +refs/heads/master: b1f1daf8c72d615b64163e26488d8effeed29b60 diff --git a/trunk/fs/f2fs/segment.h b/trunk/fs/f2fs/segment.h index a9417b94d6bc..458bf5c726f7 100644 --- a/trunk/fs/f2fs/segment.h +++ b/trunk/fs/f2fs/segment.h @@ -464,10 +464,8 @@ static inline bool has_not_enough_free_secs(struct f2fs_sb_info *sbi) if (sbi->por_doing) return false; - if (free_sections(sbi) <= (node_secs + 2 * dent_secs + - reserved_sections(sbi))) - return true; - return false; + return (free_sections(sbi) <= (node_secs + 2 * dent_secs + + reserved_sections(sbi))); } static inline int utilization(struct f2fs_sb_info *sbi)