MFp4: We have stronger 'lock already initialized' check now, so we can
reduce diff against the vendor by removing bzero of this mutex.
This commit is contained in:
parent
b72d374cee
commit
692fd5a7b9
@ -1262,7 +1262,6 @@ vdev_dtl_sync(vdev_t *vd, uint64_t txg)
|
||||
vdev_config_dirty(vd->vdev_top);
|
||||
}
|
||||
|
||||
bzero(&smlock, sizeof(smlock));
|
||||
mutex_init(&smlock, NULL, MUTEX_DEFAULT, NULL);
|
||||
|
||||
space_map_create(&smsync, sm->sm_start, sm->sm_size, sm->sm_shift,
|
||||
|
@ -1262,7 +1262,6 @@ vdev_dtl_sync(vdev_t *vd, uint64_t txg)
|
||||
vdev_config_dirty(vd->vdev_top);
|
||||
}
|
||||
|
||||
bzero(&smlock, sizeof(smlock));
|
||||
mutex_init(&smlock, NULL, MUTEX_DEFAULT, NULL);
|
||||
|
||||
space_map_create(&smsync, sm->sm_start, sm->sm_size, sm->sm_shift,
|
||||
|
Loading…
Reference in New Issue
Block a user