Skip to content

Commit

Permalink
fs/9p: remove rename work around in 9p
Browse files Browse the repository at this point in the history
Now that VFS does the right thing remove the work around.

Signed-off-by: Aneesh Kumar K.V <[email protected]>
Signed-off-by: Eric Van Hensbergen <[email protected]>
  • Loading branch information
kvaneesh authored and ericvh committed Jul 23, 2011
1 parent b85f7d9 commit 2053d67
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions fs/9p/vfs_inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -889,11 +889,6 @@ v9fs_vfs_rename(struct inode *old_dir, struct dentry *old_dentry,
clear_nlink(new_inode);
else
drop_nlink(new_inode);
/*
* Work around vfs rename rehash bug with
* FS_RENAME_DOES_D_MOVE
*/
v9fs_invalidate_inode_attr(new_inode);
}
if (S_ISDIR(old_inode->i_mode)) {
if (!new_inode)
Expand Down

0 comments on commit 2053d67

Please sign in to comment.