dsl_dir_get_canmount
if (dsl_dir_get_canmount(dsldir, &canmount) == 0 && canmount == 0)
int dsl_dir_get_canmount(zfs_dsl_dir_t *, uint64_t *);