res = cm_close(*fid, h->flag, ce); if (res.res != 0) arla_warn (ADEBMSG, res.error, "xfs_message_putdata: cm_close");  if (res.res != 0 && res.error == RXKADEXPIRED) { cred_expire (ce); cred_free (ce); return xfs_message_putdata (fd, h, size); }
do { res = cm_close(*fid, h->flag, &status, ce); if (res.res) ret = res.error; else ret = res.res; } while (try_again (&ret, &ce, &h->cred, fid));  if (ret) arla_warn (ADEBMSG, ret, "xfs_message_putdata: cm_close");
xfs_message_putdata (int fd, struct xfs_message_putdata *h, u_int size){     VenusFid *fid;     Result res;     CredCacheEntry *ce;     fid = (VenusFid *)&h->handle;     ce = cred_get (fid->Cell, h->cred.pag, CRED_ANY);     assert (ce != NULL);     res = cm_close(*fid, h->flag, ce);     if (res.res != 0)	 arla_warn (ADEBMSG, res.error, "xfs_message_putdata: cm_close");     if (res.res != 0 && res.error == RXKADEXPIRED) {	 cred_expire (ce);	 cred_free (ce);	 return xfs_message_putdata (fd, h, size);     }     cred_free (ce);     xfs_send_message_wakeup (fd, h->header.sequence_num,			      res.res ? res.error : res.res);     return 0;}