Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358987
b: refs/heads/master
c: facb020
h: refs/heads/master
i:
  358985: e1d69f4
  358983: b4d780f
v: v3
  • Loading branch information
Changman Lee authored and Jaegeuk Kim committed Feb 11, 2013
1 parent 5f3c779 commit 2dd9b2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: d4686d56ec912d55fd8a9d6d509de50de24e90ab
refs/heads/master: facb0205401a6ce4be410e1f4b9357bbc6caa36a
6 changes: 3 additions & 3 deletions trunk/fs/f2fs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,11 @@ int f2fs_sync_file(struct file *file, loff_t start, loff_t end, int datasync)

if (!S_ISREG(inode->i_mode) || inode->i_nlink != 1)
need_cp = true;
if (is_inode_flag_set(F2FS_I(inode), FI_NEED_CP))
else if (is_inode_flag_set(F2FS_I(inode), FI_NEED_CP))
need_cp = true;
if (!space_for_roll_forward(sbi))
else if (!space_for_roll_forward(sbi))
need_cp = true;
if (need_to_sync_dir(sbi, inode))
else if (need_to_sync_dir(sbi, inode))
need_cp = true;

if (need_cp) {
Expand Down

0 comments on commit 2dd9b2f

Please sign in to comment.