Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2053d67c authored by Aneesh Kumar K.V's avatar Aneesh Kumar K.V Committed by Eric Van Hensbergen
Browse files

fs/9p: remove rename work around in 9p



Now that VFS does the right thing remove the work around.

Signed-off-by: default avatarAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: default avatarEric Van Hensbergen <ericvh@gmail.com>
parent b85f7d92
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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)