Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252718
b: refs/heads/master
c: e41a59e
h: refs/heads/master
v: v3
  • Loading branch information
Sage Weil authored and Al Viro committed May 28, 2011
1 parent 3b3beb6 commit c3c4e89
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: e3911785b8ae6897b3dae2af4fa296aa5a0f2c56
refs/heads/master: e41a59e0550b7bb40fe8c3438d690712e9fd511c
5 changes: 0 additions & 5 deletions trunk/fs/hostfs/hostfs_kern.c
Original file line number Diff line number Diff line change
Expand Up @@ -683,8 +683,6 @@ int hostfs_rmdir(struct inode *ino, struct dentry *dentry)
char *file;
int err;

dentry_unhash(dentry);

if ((file = dentry_name(dentry)) == NULL)
return -ENOMEM;
err = do_rmdir(file);
Expand Down Expand Up @@ -738,9 +736,6 @@ int hostfs_rename(struct inode *from_ino, struct dentry *from,
char *from_name, *to_name;
int err;

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

if ((from_name = dentry_name(from)) == NULL)
return -ENOMEM;
if ((to_name = dentry_name(to)) == NULL) {
Expand Down

0 comments on commit c3c4e89

Please sign in to comment.