Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251697
b: refs/heads/master
c: 5a61a24
h: refs/heads/master
i:
  251695: 7660fbe
v: v3
  • Loading branch information
Sage Weil authored and Al Viro committed May 26, 2011
1 parent c758cdb commit 7cd37b8
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: 40ebc0af58a88652c9a9c1e9126c8fcf9fce1f6e
refs/heads/master: 5a61a245f7489feec865264e2627c5071aef8c66
5 changes: 0 additions & 5 deletions trunk/fs/ext3/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -2074,8 +2074,6 @@ static int ext3_rmdir (struct inode * dir, struct dentry *dentry)
struct ext3_dir_entry_2 * de;
handle_t *handle;

dentry_unhash(dentry);

/* Initialize quotas before so that eventual writes go in
* separate transaction */
dquot_initialize(dir);
Expand Down Expand Up @@ -2298,9 +2296,6 @@ static int ext3_rename (struct inode * old_dir, struct dentry *old_dentry,
struct ext3_dir_entry_2 * old_de, * new_de;
int retval, flush_file = 0;

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 7cd37b8

Please sign in to comment.