Home
last modified time | relevance | path

Searched refs:snap_ds (Results 1 – 1 of 1) sorted by relevance

/titanic_50/usr/src/uts/common/fs/zfs/
H A Ddsl_dataset.c597 dsl_dataset_t *snap_ds; in dsl_dataset_hold() local
608 err = dsl_dataset_hold_obj(dp, obj, tag, &snap_ds); in dsl_dataset_hold()
612 mutex_enter(&snap_ds->ds_lock); in dsl_dataset_hold()
613 if (snap_ds->ds_snapname[0] == 0) in dsl_dataset_hold()
614 (void) strlcpy(snap_ds->ds_snapname, snapname, in dsl_dataset_hold()
615 sizeof (snap_ds->ds_snapname)); in dsl_dataset_hold()
616 mutex_exit(&snap_ds->ds_lock); in dsl_dataset_hold()
617 ds = snap_ds; in dsl_dataset_hold()