Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252728
b: refs/heads/master
c: 45adfef
h: refs/heads/master
v: v3
  • Loading branch information
Sage Weil authored and Al Viro committed May 28, 2011
1 parent 5520874 commit a5fc48d
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: b80d2c228d8206cadc32226750dbbf3b707bdd19
refs/heads/master: 45adfef7d023004ff95bf63b5f2f0e2d88afac3f
5 changes: 0 additions & 5 deletions trunk/fs/hpfs/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,6 @@ static int hpfs_rmdir(struct inode *dir, struct dentry *dentry)
int err;
int r;

dentry_unhash(dentry);

hpfs_adjust_length(name, &len);
hpfs_lock(dir->i_sb);
err = -ENOENT;
Expand Down Expand Up @@ -535,9 +533,6 @@ static int hpfs_rename(struct inode *old_dir, struct dentry *old_dentry,
struct fnode *fnode;
int err;

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

if ((err = hpfs_chk_name(new_name, &new_len))) return err;
err = 0;
hpfs_adjust_length(old_name, &old_len);
Expand Down

0 comments on commit a5fc48d

Please sign in to comment.