/* This reclaims a channel by freeing its resources and reseting its inuse flag.  */
static void p9_virtio_close(struct p9_client *client)
/* This reclaims a channel by freeing its resources and reseting its inuse flag.  */
static void p9_virtio_close(struct p9_client *client)
{
	struct virtio_chan *chan = client->trans;
	mutex_lock(&virtio_9p_lock);
	if (chan)
		chan->inuse = false;
	mutex_unlock(&virtio_9p_lock);
}