char tmp[5];
char tmp[2 * sizeof(int) + 2];
int reconnect_symlink(struct vcache *parent, struct vcache *child,		      AFSStoreStatus *store_attr, char *name, 		      char *contents){    ConnCacheEntry *conn;    fs_server_context context;    CredCacheEntry *ce;    VenusFid *parent_fid, *child_fid, fakeFid;    char tmp[5];    int ret = 0;    FCacheEntry *dir_entry, *childEntry;    Result res;    AFSFetchStatus fetch_attr, new_status;    AFSVolSync volsync;    xfs_cache_handle cache_handle;    int32_t type;    parent_fid = &(parent->fid);    child_fid  = &(child->fid);    fakeFid    = *child_fid;    parent_fid = fid_translate(parent_fid);    ce = cred_get (parent->fid.Cell, parent->cred.pag, CRED_ANY);    assert (ce != NULL);    ret = fcache_find (&dir_entry, *parent_fid);    assert (ret == 0);    adir_remove(dir_entry,name);    ret = fcache_find (&childEntry, *child_fid);    assert (ret == 0);    recon_hashtabdel(childEntry);    assert(ret==0);    conn = find_first_fs (dir_entry, ce, &context);    if (conn == NULL) {	arla_log (ADEBDISCONN,"Cannot make this connection");	goto out;    }      alloc_fid_trans(&childEntry->fid);    ret = RXAFS_Symlink (conn->connection,			 &dir_entry->fid.fid,			 name,			 contents,			 store_attr,			 &(childEntry->fid.fid),			 &fetch_attr,			 &new_status,			 &volsync);    if (ret) {	arla_warn (ADEBFCACHE, ret, "Symlink");	goto out;    }    child_fid->Cell = dir_entry->fid.Cell;    fill_fid_trans (&childEntry->fid);    ret = volcache_getbyid (childEntry->fid.fid.Volume,			    childEntry->fid.Cell,			    ce,			    &childEntry->volume,			    &type);    recon_hashtabadd (childEntry);    adir_creat(dir_entry, name, childEntry->fid.fid);    childEntry->status = fetch_attr;    childEntry->flags.attrp = TRUE;    childEntry->flags.kernelp = TRUE;    childEntry->tokens |= XFS_ATTR_R;    volcache_update_volsync (dir_entry->volume, dir_entry->volsync);    childEntry->host = rx_HostOf (rx_PeerOf (conn->connection));    assert(childEntry->host);    update_kernelfid(fakeFid, childEntry->fid);    res = conv_dir (dir_entry, ce, 0, &cache_handle, tmp, sizeof(tmp)); out:     ReleaseWriteLock(&dir_entry->lock);    ReleaseWriteLock(&childEntry->lock);    free_fs_server_context(&context);    cred_free(ce);    return ret;}