changeset 8667 | 5c308a17eb7c |
parent 8662 | 18153249ee93 |
child 8680 | 005fe27123ba |
--- a/usr/src/uts/common/fs/zfs/spa.c Fri Jan 30 16:43:06 2009 -0800 +++ b/usr/src/uts/common/fs/zfs/spa.c Fri Jan 30 18:14:31 2009 -0800 @@ -2148,10 +2148,10 @@ if (version >= SPA_VERSION_ZPOOL_HISTORY && history_str != NULL) (void) spa_history_log(spa, history_str, LOG_CMD_POOL_CREATE); + spa->spa_minref = refcount_count(&spa->spa_refcount); + mutex_exit(&spa_namespace_lock); - spa->spa_minref = refcount_count(&spa->spa_refcount); - return (0); }