Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 329017
b: refs/heads/master
c: 1fe0c02
h: refs/heads/master
i:
  329015: 93aa4fd
v: v3
  • Loading branch information
Alan Cox authored and Al Viro committed Sep 27, 2012
1 parent 76fc70f commit 814c4ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 2903ff019b346ab8d36ebbf54853c3aaf6590608
refs/heads/master: 1fe0c0230a7c2d5f4061e681a3f3be9512446d23
2 changes: 1 addition & 1 deletion trunk/fs/dcache.c
Original file line number Diff line number Diff line change
Expand Up @@ -2109,7 +2109,7 @@ void d_delete(struct dentry * dentry)
inode = dentry->d_inode;
isdir = S_ISDIR(inode->i_mode);
if (dentry->d_count == 1) {
if (inode && !spin_trylock(&inode->i_lock)) {
if (!spin_trylock(&inode->i_lock)) {
spin_unlock(&dentry->d_lock);
cpu_relax();
goto again;
Expand Down

0 comments on commit 814c4ca

Please sign in to comment.