fs/9p: remove rename work around in 9p
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>
This commit is contained in:
parent
b85f7d92d7
commit
2053d67c54
1 changed files with 0 additions and 5 deletions
|
@ -889,11 +889,6 @@ clunk_newdir:
|
||||||
clear_nlink(new_inode);
|
clear_nlink(new_inode);
|
||||||
else
|
else
|
||||||
drop_nlink(new_inode);
|
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 (S_ISDIR(old_inode->i_mode)) {
|
||||||
if (!new_inode)
|
if (!new_inode)
|
||||||
|
|
Loading…
Reference in a new issue