Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251696
b: refs/heads/master
c: 40ebc0a
h: refs/heads/master
v: v3
  • Loading branch information
Sage Weil authored and Al Viro committed May 26, 2011
1 parent 7660fbe commit c758cdb
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: f64f58f85403a5a8a21f1fbbc7798e56580785cf
refs/heads/master: 40ebc0af58a88652c9a9c1e9126c8fcf9fce1f6e
5 changes: 0 additions & 5 deletions trunk/fs/ext4/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -2123,8 +2123,6 @@ static int ext4_rmdir(struct inode *dir, struct dentry *dentry)
struct ext4_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 @@ -2352,9 +2350,6 @@ static int ext4_rename(struct inode *old_dir, struct dentry *old_dentry,
struct ext4_dir_entry_2 *old_de, *new_de;
int retval, force_da_alloc = 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 c758cdb

Please sign in to comment.