Mercurial > illumos > illumos-gate
diff usr/src/uts/common/fs/zfs/dsl_dataset.c @ 928:36d72fe4da29
6349314 dmu_object_type names incorrect for DSL Directories and DSL Datasets
author | tabriz |
---|---|
date | Tue, 15 Nov 2005 17:06:33 -0800 |
parents | d925b21dba78 |
children | 938876158511 |
line wrap: on
line diff
--- a/usr/src/uts/common/fs/zfs/dsl_dataset.c Tue Nov 15 14:19:14 2005 -0800 +++ b/usr/src/uts/common/fs/zfs/dsl_dataset.c Tue Nov 15 17:06:33 2005 -0800 @@ -479,8 +479,8 @@ dd = dsl_dir_open_obj(dp, *ddobjp, NULL, FTAG); ASSERT(dd != NULL); - dsobj = dmu_object_alloc(mos, DMU_OT_DSL_OBJSET, 0, - DMU_OT_DSL_OBJSET, sizeof (dsl_dataset_phys_t), tx); + dsobj = dmu_object_alloc(mos, DMU_OT_DSL_DATASET, 0, + DMU_OT_DSL_DATASET, sizeof (dsl_dataset_phys_t), tx); dbuf = dmu_bonus_hold(mos, dsobj); dmu_buf_will_dirty(dbuf, tx); dsphys = dbuf->db_data; @@ -542,8 +542,8 @@ /* This is the point of no (unsuccessful) return */ - dsobj = dmu_object_alloc(mos, DMU_OT_DSL_OBJSET, 0, - DMU_OT_DSL_OBJSET, sizeof (dsl_dataset_phys_t), tx); + dsobj = dmu_object_alloc(mos, DMU_OT_DSL_DATASET, 0, + DMU_OT_DSL_DATASET, sizeof (dsl_dataset_phys_t), tx); dbuf = dmu_bonus_hold(mos, dsobj); dmu_buf_will_dirty(dbuf, tx); dsphys = dbuf->db_data; @@ -1215,8 +1215,8 @@ rw_enter(&dp->dp_config_rwlock, RW_WRITER); - dsobj = dmu_object_alloc(mos, DMU_OT_DSL_OBJSET, 0, - DMU_OT_DSL_OBJSET, sizeof (dsl_dataset_phys_t), tx); + dsobj = dmu_object_alloc(mos, DMU_OT_DSL_DATASET, 0, + DMU_OT_DSL_DATASET, sizeof (dsl_dataset_phys_t), tx); dbuf = dmu_bonus_hold(mos, dsobj); dmu_buf_will_dirty(dbuf, tx); dsphys = dbuf->db_data;