/* p9_idpool_create - create a new per-connection id pool  */
struct p9_idpool* p9_idpool_create(void)
/* p9_idpool_create - create a new per-connection id pool  */
struct p9_idpool* p9_idpool_create(void)
{
	struct p9_idpool *p;
	p = kmalloc(sizeof(struct p9_idpool), GFP_KERNEL);
	if (!p)
		return ERR_PTR(-ENOMEM);
	spin_lock_init(&p->lock);
	idr_init(&p->pool);
	return p;
}