* If old == new, we're done.
*/
if (old->p_base->pb_ino == new->p_base->pb_ino)
- goto out;
+ goto short_out;
if (new->p_base->pb_ino) {
/*
if (new->p_base->pb_ino)
I_GONE(new->p_base->pb_ino);
new->p_base->pb_ino = old->p_base->pb_ino;
- I_REF(new->p_base->pb_ino);
+ old->p_base->pb_ino = NULL;
+short_out:
error1:
P_RELE(new);
error2:
error3:
if (err)
goto out;
- _sysio_p_gone(old); /* kill it! */
out:
SYSIO_INTERFACE_RETURN(err ? -1 : 0, err);
}