/* Releases ownership of an inbound mailbox resource. Returns 0 if the request has been satisfied.  */
int rio_release_inb_mbox(struct rio_mport *mport, int mbox)
/* Releases ownership of an inbound mailbox resource. Returns 0 if the request has been satisfied.  */
int rio_release_inb_mbox(struct rio_mport *mport, int mbox)
{
	rio_close_inb_mbox(mport, mbox);
	return release_resource(mport->inb_msg[mbox].res);
}