Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298377
b: refs/heads/master
c: a6ecdfc
h: refs/heads/master
i:
  298375: 8a682ae
v: v3
  • Loading branch information
Al Viro committed Mar 31, 2012
1 parent 45b05f8 commit b1c43e6
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: ec335e91a4f088d8759c1311d0724e609d1c318e
refs/heads/master: a6ecdfcfba9392f469992dd6016ceafb3ea62123
6 changes: 3 additions & 3 deletions trunk/fs/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -1188,12 +1188,12 @@ static int do_lookup(struct nameidata *nd, struct qstr *name,
}
if (!d_invalidate(dentry)) {
dput(dentry);
dentry = d_alloc_and_lookup(parent, name, nd);
dentry = NULL;
}
}
} else if (!dentry) {
dentry = d_alloc_and_lookup(parent, name, nd);
}
if (!dentry)
dentry = d_alloc_and_lookup(parent, name, nd);
l:
mutex_unlock(&dir->i_mutex);
if (IS_ERR(dentry))
Expand Down

0 comments on commit b1c43e6

Please sign in to comment.