conn_free (conn);
rename_file (FCacheEntry *old_dir,	     const char *old_name,	     FCacheEntry *new_dir,	     const char *new_name,	     CredCacheEntry *ce){    int ret = 0;    ConnCacheEntry *conn;    AFSFetchStatus orig_status, new_status;    AFSVolSync volsync;    assert (CheckLock(&old_dir->lock) == -1	    && CheckLock(&new_dir->lock) == -1);    conn = findconn (old_dir, ce);    if (conn == NULL)	return ENETDOWN;    ret = RXAFS_Rename (conn->connection,			&old_dir->fid.fid,			old_name,			&new_dir->fid.fid,			new_name,			&orig_status,			&new_status,			&volsync);    if (ret) {	arla_warn (ADEBFCACHE, ret, "Rename");	goto out;    }    usedbytes = usedbytes - old_dir->status.Length + orig_status.Length;    usedbytes = usedbytes - new_dir->status.Length + new_status.Length;    update_entry (old_dir, &orig_status, NULL, &volsync,		  rx_HostOf(rx_PeerOf(conn->connection)),		  ce->cred);    update_entry (new_dir, &new_status, NULL, &volsync,		  rx_HostOf(rx_PeerOf(conn->connection)),		  ce->cred);out:    conn_free (conn);    return ret;}