diff options
author | Josef 'Jeff' Sipek <jeffpc@josefsipek.net> | 2016-04-01 03:54:07 +0000 |
---|---|---|
committer | Brian Behlendorf <behlendorf1@llnl.gov> | 2016-04-27 22:58:23 +0000 |
commit | 8a5fc74880251aa651306d1dbcc60715698996f0 (patch) | |
tree | fd37b86a51274e2e6c3942d1adca2d088127c9ea /module/zfs/spa.c | |
parent | 16794374b37fb22c32616fe1f40ade1304628ff9 (diff) | |
download | src-8a5fc74880251aa651306d1dbcc60715698996f0.tar.gz src-8a5fc74880251aa651306d1dbcc60715698996f0.zip |
Diffstat (limited to 'module/zfs/spa.c')
-rw-r--r-- | module/zfs/spa.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/module/zfs/spa.c b/module/zfs/spa.c index 01048bfe9027..63425d3d03ea 100644 --- a/module/zfs/spa.c +++ b/module/zfs/spa.c @@ -6132,8 +6132,7 @@ spa_sync_config_object(spa_t *spa, dmu_tx_t *tx) spa_config_exit(spa, SCL_STATE, FTAG); - if (spa->spa_config_syncing) - nvlist_free(spa->spa_config_syncing); + nvlist_free(spa->spa_config_syncing); spa->spa_config_syncing = config; spa_sync_nvlist(spa, spa->spa_config_object, config, tx); |