Skip to content
Snippets Groups Projects
Commit 7df8d1be authored by Oleg Drokin's avatar Oleg Drokin
Browse files

b=16074

r=adilger, Lee Ward

Do not get extra reference on source inode since we already hold the reference
from previous name.
parent b0ae46fc
No related branches found
No related tags found
No related merge requests found
......@@ -176,7 +176,6 @@ SYSIO_INTERFACE_NAME(rename)(const char *oldpath, const char *newpath)
I_GONE(new->p_base->pb_ino);
new->p_base->pb_ino = old->p_base->pb_ino;
old->p_base->pb_ino = NULL;
I_REF(new->p_base->pb_ino);
short_out:
error1:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment