Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 377685
b: refs/heads/master
c: 3b10b1f
h: refs/heads/master
i:
  377683: de349d3
v: v3
  • Loading branch information
Jaegeuk Kim committed May 28, 2013
1 parent 141bfe4 commit 8415d9b
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 7a267f8d7463346a139e49c8beac1b8bfe32ef97
refs/heads/master: 3b10b1fd2b6bc82eeb346ff6a6621d065908ea6d
7 changes: 4 additions & 3 deletions trunk/fs/f2fs/checkpoint.c
Original file line number Diff line number Diff line change
Expand Up @@ -501,8 +501,10 @@ void remove_dirty_dir_inode(struct inode *inode)
return;

spin_lock(&sbi->dir_inode_lock);
if (atomic_read(&F2FS_I(inode)->dirty_dents))
goto out;
if (atomic_read(&F2FS_I(inode)->dirty_dents)) {
spin_unlock(&sbi->dir_inode_lock);
return;
}

list_for_each(this, head) {
struct dir_inode_entry *entry;
Expand All @@ -516,7 +518,6 @@ void remove_dirty_dir_inode(struct inode *inode)
break;
}
}
out:
spin_unlock(&sbi->dir_inode_lock);

/* Only from the recovery routine */
Expand Down

0 comments on commit 8415d9b

Please sign in to comment.