/* This initializes the tags structure for each client instance.  */
static int p9_tag_init(struct p9_client *c)
/* This initializes the tags structure for each client instance.  */
static int p9_tag_init(struct p9_client *c)
{
	int err = 0;
	c->tagpool = p9_idpool_create();
	if (IS_ERR(c->tagpool)) {
		err = PTR_ERR(c->tagpool);
		c->tagpool = NULL;
		goto error;
	}
	p9_idpool_get(c->tagpool);
	c->max_tag = 0;
error:
	return err;
}