Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252708
b: refs/heads/master
c: 44a8e63
h: refs/heads/master
v: v3
  • Loading branch information
Sage Weil authored and Al Viro committed May 28, 2011
1 parent a237a39 commit f1f2e09
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: cf0f0536fa65ca1353476c49feed34891f3f7134
refs/heads/master: 44a8e6364e48ab93a1d86385b5fc9efe81395fa9
5 changes: 0 additions & 5 deletions trunk/fs/jfs/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,6 @@ static int jfs_rmdir(struct inode *dip, struct dentry *dentry)

jfs_info("jfs_rmdir: dip:0x%p name:%s", dip, dentry->d_name.name);

dentry_unhash(dentry);

/* Init inode for quota operations. */
dquot_initialize(dip);
dquot_initialize(ip);
Expand Down Expand Up @@ -1097,9 +1095,6 @@ static int jfs_rename(struct inode *old_dir, struct dentry *old_dentry,
jfs_info("jfs_rename: %s %s", old_dentry->d_name.name,
new_dentry->d_name.name);

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

dquot_initialize(old_dir);
dquot_initialize(new_dir);

Expand Down

0 comments on commit f1f2e09

Please sign in to comment.