Print this page
patch tsoome-feedback

@@ -342,11 +342,10 @@
 
 void
 spa_config_set(spa_t *spa, nvlist_t *config)
 {
         mutex_enter(&spa->spa_props_lock);
-        if (spa->spa_config != NULL)
                 nvlist_free(spa->spa_config);
         spa->spa_config = config;
         mutex_exit(&spa->spa_props_lock);
 }