* Applied patch by Janito that fixes broken reverting when a rename operation

failed on last chance. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38103 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2010-08-14 18:41:52 +00:00
parent cdb58cbb69
commit 75148e0193

View File

@ -1217,8 +1217,8 @@ bfs_rename(fs_volume* _volume, fs_vnode* _oldDir, const char* oldName,
return B_OK;
}
entry_cache_remove(volume->ID(), oldDirectory->ID(), newName);
entry_cache_add(volume->ID(), newDirectory->ID(), oldName, id);
entry_cache_remove(volume->ID(), newDirectory->ID(), newName);
entry_cache_add(volume->ID(), oldDirectory->ID(), oldName, id);
}
}
}