Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358996
b: refs/heads/master
c: b1f1daf
h: refs/heads/master
v: v3
  • Loading branch information
Namjae Jeon authored and Jaegeuk Kim committed Feb 11, 2013
1 parent 031e8ca commit d5fedff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5ac206cf4f9aad871aa1f1dd653a3404092db56c
refs/heads/master: b1f1daf8c72d615b64163e26488d8effeed29b60
6 changes: 2 additions & 4 deletions trunk/fs/f2fs/segment.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d5fedff

Please sign in to comment.