Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252705
b: refs/heads/master
c: 76f0b8d
h: refs/heads/master
i:
  252703: e73eab9
v: v3
  • Loading branch information
Sage Weil authored and Al Viro committed May 28, 2011
1 parent f1e82a5 commit 79115f2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 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: 4b4563dc80594c6a2580aa52d9fcf0177a27074e
refs/heads/master: 76f0b8d2d2c8d417623142069cdfde1cf1e108d5
3 changes: 0 additions & 3 deletions trunk/fs/bfs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,6 @@ static int bfs_rename(struct inode *old_dir, struct dentry *old_dentry,
struct bfs_sb_info *info;
int error = -ENOENT;

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

old_bh = new_bh = NULL;
old_inode = old_dentry->d_inode;
if (S_ISDIR(old_inode->i_mode))
Expand Down

0 comments on commit 79115f2

Please sign in to comment.