fs/9p: remove rename work around in 9p
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Mon, 6 Jun 2011 18:01:47 +0000 (18:01 +0000)
committerEric Van Hensbergen <ericvh@gmail.com>
Sat, 23 Jul 2011 14:32:47 +0000 (09:32 -0500)
Now that VFS does the right thing remove the work around.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
fs/9p/vfs_inode.c

index 7f9976a866e9404f891c8af67d344447177c5309..a5a95372cd68c76bc2f3944c91261834181f431b 100644 (file)
@@ -889,11 +889,6 @@ clunk_newdir:
                                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)