Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 257404
b: refs/heads/master
c: 86c98e8
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Jul 21, 2011
1 parent f33f40c commit 11e447b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 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: e4b9f0058145a3bed4199eacee62a9969c163401
refs/heads/master: 86c98e8cdb21ff4628f4d48559ab6e006380fa4b
5 changes: 0 additions & 5 deletions trunk/fs/dcache.c
Original file line number Diff line number Diff line change
Expand Up @@ -549,10 +549,6 @@ struct dentry *dget_parent(struct dentry *dentry)
*/
rcu_read_lock();
ret = dentry->d_parent;
if (!ret) {
rcu_read_unlock();
goto out;
}
spin_lock(&ret->d_lock);
if (unlikely(ret != dentry->d_parent)) {
spin_unlock(&ret->d_lock);
Expand All @@ -563,7 +559,6 @@ struct dentry *dget_parent(struct dentry *dentry)
BUG_ON(!ret->d_count);
ret->d_count++;
spin_unlock(&ret->d_lock);
out:
return ret;
}
EXPORT_SYMBOL(dget_parent);
Expand Down

0 comments on commit 11e447b

Please sign in to comment.