Mercurial > illumos > illumos-gate
diff usr/src/uts/common/fs/zfs/spa.c @ 8667:5c308a17eb7c
6795440 Assertion failure in spa_close()
author | George Wilson <George.Wilson@Sun.COM> |
---|---|
date | Fri, 30 Jan 2009 18:14:31 -0800 |
parents | 18153249ee93 |
children | 005fe27123ba |
line wrap: on
line diff
--- 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); }