txg_init/txg_fini cv_* initialized pulled in upstream in a slightly different way, drop these now redundant versions
This commit is contained in:
parent
089836c3e4
commit
7d4fe54632
|
@ -67,7 +67,6 @@ txg_init(dsl_pool_t *dp, uint64_t txg)
|
|||
cv_init(&tx->tx_sync_done_cv, NULL, CV_DEFAULT, NULL);
|
||||
cv_init(&tx->tx_quiesce_more_cv, NULL, CV_DEFAULT, NULL);
|
||||
cv_init(&tx->tx_quiesce_done_cv, NULL, CV_DEFAULT, NULL);
|
||||
cv_init(&tx->tx_timeout_cv, NULL, CV_DEFAULT, NULL);
|
||||
cv_init(&tx->tx_exit_cv, NULL, CV_DEFAULT, NULL);
|
||||
|
||||
tx->tx_open_txg = txg;
|
||||
|
@ -84,13 +83,6 @@ txg_fini(dsl_pool_t *dp)
|
|||
|
||||
ASSERT(tx->tx_threads == 0);
|
||||
|
||||
cv_destroy(&tx->tx_sync_more_cv);
|
||||
cv_destroy(&tx->tx_sync_done_cv);
|
||||
cv_destroy(&tx->tx_quiesce_more_cv);
|
||||
cv_destroy(&tx->tx_quiesce_done_cv);
|
||||
cv_destroy(&tx->tx_timeout_cv);
|
||||
cv_destroy(&tx->tx_exit_cv);
|
||||
|
||||
rw_destroy(&tx->tx_suspend);
|
||||
mutex_destroy(&tx->tx_sync_lock);
|
||||
|
||||
|
|
Loading…
Reference in New Issue