Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
* @kref: Reference counter
* @domain: Domain of the user
* @hentry: Entry in domain user map
- * @idr: Smalles possible index number of all users
+ * @idr: Smallest possible index number of all users
* @uid: UID of the user
* @buses: Number of buses the user has created
* @connections: Number of connections the user has created
mutex_unlock(&pool->lock);
*slice = s;
+ return 0;
+
exit_unlock:
+ mutex_unlock(&pool->lock);
return ret;
}