Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251701
b: refs/heads/master
c: 7ca5736
h: refs/heads/master
i:
  251699: 755ae55
v: v3
  • Loading branch information
Sage Weil authored and Al Viro committed May 26, 2011
1 parent 66fa886 commit 362f046
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 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: 8cbfa53b1cd08ae3b315bbb55f7396f5a6a6a4f7
refs/heads/master: 7ca57363880c2b321ff64d34a82ae4af86ee52d5
6 changes: 0 additions & 6 deletions trunk/fs/ocfs2/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -810,9 +810,6 @@ static int ocfs2_unlink(struct inode *dir,
(unsigned long long)OCFS2_I(dir)->ip_blkno,
(unsigned long long)OCFS2_I(inode)->ip_blkno);

if (S_ISDIR(inode->i_mode))
dentry_unhash(dentry);

dquot_initialize(dir);

BUG_ON(dentry->d_parent->d_inode != dir);
Expand Down Expand Up @@ -1066,9 +1063,6 @@ static int ocfs2_rename(struct inode *old_dir,
struct ocfs2_dir_lookup_result orphan_insert = { NULL, };
struct ocfs2_dir_lookup_result target_insert = { NULL, };

if (new_inode && S_ISDIR(new_inode->i_mode))
dentry_unhash(new_dentry);

/* At some point it might be nice to break this function up a
* bit. */

Expand Down

0 comments on commit 362f046

Please sign in to comment.