Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312879
b: refs/heads/master
c: 9f71387
h: refs/heads/master
i:
  312877: eb4dab9
  312875: a599936
  312871: 7e0c4e3
  312863: 922541b
v: v3
  • Loading branch information
Al Viro committed Jul 14, 2012
1 parent 28fdc63 commit b8be360
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 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: a614a092bf28d58c742b9ec43209f3f78c3d9fb3
refs/heads/master: 9f713878f22e0b2d34d62df0ca55f65166375634
9 changes: 1 addition & 8 deletions trunk/fs/ext4/fsync.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,7 @@ static int ext4_sync_parent(struct inode *inode)
inode = igrab(inode);
while (ext4_test_inode_state(inode, EXT4_STATE_NEWENTRY)) {
ext4_clear_inode_state(inode, EXT4_STATE_NEWENTRY);
dentry = NULL;
spin_lock(&inode->i_lock);
if (!list_empty(&inode->i_dentry)) {
dentry = list_first_entry(&inode->i_dentry,
struct dentry, d_alias);
dget(dentry);
}
spin_unlock(&inode->i_lock);
dentry = d_find_any_alias(inode);
if (!dentry)
break;
next = igrab(dentry->d_parent->d_inode);
Expand Down

0 comments on commit b8be360

Please sign in to comment.