Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40093
b: refs/heads/master
c: 711a40f
h: refs/heads/master
i:
  40091: 4ec1360
v: v3
  • Loading branch information
Sunil Mushran authored and Mark Fasheh committed Oct 20, 2006
1 parent 4bc52b7 commit d2c5e35
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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: 79cd22d3ac921b9209bf813c7e75e6b69e74896c
refs/heads/master: 711a40fcaa83bfad87736544b69f6fdd6527482d
8 changes: 0 additions & 8 deletions trunk/fs/ocfs2/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -1085,14 +1085,6 @@ static int ocfs2_rename(struct inode *old_dir,
BUG();
}

if (atomic_read(&old_dentry->d_count) > 2) {
shrink_dcache_parent(old_dentry);
if (atomic_read(&old_dentry->d_count) > 2) {
status = -EBUSY;
goto bail;
}
}

/* Assume a directory heirarchy thusly:
* a/b/c
* a/d
Expand Down

0 comments on commit d2c5e35

Please sign in to comment.