Delete destination fuse nodes when renaming
When there is a reference for the destination node, we will have two
nodes with the same name after rename is done. (renaming source file
to destination file)
If the newly created node has forgotten by cache invalidatation, the
previous existing node can be looked up. This can cause fuse inode
stat mismatch. Therefore, set the delete flag to the existing node
when rename has successfully done.
Bug: 199367721
Test: Manual
Change-Id: Ie62bfe4a480da91dc4b765d906943729a6cb2a9c
1 file changed