Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252714
b: refs/heads/master
c: 7020739
h: refs/heads/master
v: v3
  • Loading branch information
Sage Weil authored and Al Viro committed May 28, 2011
1 parent 64ec4e4 commit a3b4b36
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: cc350c2764a657ee012efd5bd260a6cd5be2f877
refs/heads/master: 7020739df2fa0e2126fc9739987e016860f14323
5 changes: 0 additions & 5 deletions trunk/fs/udf/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -783,8 +783,6 @@ static int udf_rmdir(struct inode *dir, struct dentry *dentry)
struct fileIdentDesc *fi, cfi;
struct kernel_lb_addr tloc;

dentry_unhash(dentry);

retval = -ENOENT;
fi = udf_find_entry(dir, &dentry->d_name, &fibh, &cfi);
if (!fi)
Expand Down Expand Up @@ -1083,9 +1081,6 @@ static int udf_rename(struct inode *old_dir, struct dentry *old_dentry,
struct kernel_lb_addr tloc;
struct udf_inode_info *old_iinfo = UDF_I(old_inode);

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

ofi = udf_find_entry(old_dir, &old_dentry->d_name, &ofibh, &ocfi);
if (ofi) {
if (ofibh.sbh != ofibh.ebh)
Expand Down

0 comments on commit a3b4b36

Please sign in to comment.