ASSERT3U(MZAP_ENT_LEN, ==, sizeof (mzap_ent_phys_t));
zap = kmem_zalloc(sizeof (zap_t), KM_SLEEP);
ASSERT3U(MZAP_ENT_LEN, ==, sizeof (mzap_ent_phys_t));
zap = kmem_zalloc(sizeof (zap_t), KM_SLEEP);
- rw_init(&zap->zap_rwlock, 0, 0, 0);
+ rw_init(&zap->zap_rwlock, NULL, RW_DEFAULT, NULL);
/*
* If there is an old value, it shouldn't change across the
* lockdir (eg, due to bprewrite's xlation).
/*
* If there is an old value, it shouldn't change across the
* lockdir (eg, due to bprewrite's xlation).