Merge branch 'fix-rwlocks' into refs/top-bases/fix-branch
This commit is contained in:
commit
2e9cd667d0
|
@ -362,7 +362,7 @@ dsl_dataset_get_ref(dsl_pool_t *dp, uint64_t dsobj, void *tag,
|
|||
mutex_init(&ds->ds_opening_lock, NULL, MUTEX_DEFAULT, NULL);
|
||||
mutex_init(&ds->ds_deadlist.bpl_lock, NULL, MUTEX_DEFAULT,
|
||||
NULL);
|
||||
rw_init(&ds->ds_rwlock, 0, 0, 0);
|
||||
rw_init(&ds->ds_rwlock, NULL, RW_DEFAULT, NULL);
|
||||
cv_init(&ds->ds_exclusive_cv, NULL, CV_DEFAULT, NULL);
|
||||
|
||||
err = bplist_open(&ds->ds_deadlist,
|
||||
|
|
Loading…
Reference in New Issue