Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 128460
b: refs/heads/master
c: 93a6925
h: refs/heads/master
v: v3
  • Loading branch information
Chris Mason authored and David Woodhouse committed Sep 14, 2007
1 parent 79dd989 commit da9df01
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 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: 3de3f774f98490dbac63b7b50a0d2eedfea86b5a
refs/heads/master: 93a6925ec10c2d5792ffad35af8366179c9db57c
7 changes: 0 additions & 7 deletions trunk/fs/btrfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -2214,13 +2214,6 @@ static int btrfs_rename(struct inode * old_dir, struct dentry *old_dentry,
ret = btrfs_unlink_trans(trans, root, new_dir, new_dentry);
if (ret)
goto out_fail;
if (S_ISDIR(new_inode->i_mode))
clear_nlink(new_inode);
else
drop_nlink(new_inode);
ret = btrfs_update_inode(trans, root, new_inode);
if (ret)
goto out_fail;
}
ret = btrfs_add_link(trans, new_dentry, old_inode);
if (ret)
Expand Down

0 comments on commit da9df01

Please sign in to comment.