FreeBSD/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c
/*
 * Remove a reference to the given spa_t.  Must have at least one reference, or
 * have the namespace lock held.
 */
Remove a reference to the given spa_t.  Must have at least one reference, or
have the namespace lock held.
Remove a reference to the given spa_t . Must have at least one reference or have the namespace lock held .
void
spa_close(spa_t *spa, void *tag)
{
	ASSERT(refcount_count(&spa->spa_refcount) > spa->spa_minref ||
	    MUTEX_HELD(&spa_namespace_lock));
	(void) refcount_remove(&spa->spa_refcount, tag);
}
void spa_close ( spa_t * spa , void * tag ) { ASSERT ( refcount_count ( & spa -> spa_refcount ) > spa -> spa_minref || MUTEX_HELD ( & spa_namespace_lock ) ) ; ( void ) refcount_remove ( & spa -> spa_refcount , tag ) ; }
Remove a reference to the given spa_t.
Remove a reference to the given spa_t .