Changeset View
Changeset View
Standalone View
Standalone View
sys/boot/zfs/zfsimpl.c
Show First 20 Lines • Show All 1,861 Lines • ▼ Show 20 Lines | zfs_list_dataset(const spa_t *spa, uint64_t objnum/*, int pos, char *entry*/) | ||||
if (objset_get_dnode(spa, &spa->spa_mos, child_dir_zapobj, &child_dir_zap) != 0) { | if (objset_get_dnode(spa, &spa->spa_mos, child_dir_zapobj, &child_dir_zap) != 0) { | ||||
printf("ZFS: can't find child zap %ju\n", (uintmax_t)dir_obj); | printf("ZFS: can't find child zap %ju\n", (uintmax_t)dir_obj); | ||||
return (EIO); | return (EIO); | ||||
} | } | ||||
return (zap_list(spa, &child_dir_zap) != 0); | return (zap_list(spa, &child_dir_zap) != 0); | ||||
} | } | ||||
int | static int | ||||
allanjude: is this change intentional? | |||||
smhAuthorUnsubmitted Not Done Inline ActionsYes as its not used externally and was causing a warning due to lack of prototype. smh: Yes as its not used externally and was causing a warning due to lack of prototype. | |||||
zfs_callback_dataset(const spa_t *spa, uint64_t objnum, int (*callback)(const char *name)) | zfs_callback_dataset(const spa_t *spa, uint64_t objnum, int (*callback)(const char *name)) | ||||
{ | { | ||||
uint64_t dir_obj, child_dir_zapobj, zap_type; | uint64_t dir_obj, child_dir_zapobj, zap_type; | ||||
dnode_phys_t child_dir_zap, dir, dataset; | dnode_phys_t child_dir_zap, dir, dataset; | ||||
dsl_dataset_phys_t *ds; | dsl_dataset_phys_t *ds; | ||||
dsl_dir_phys_t *dd; | dsl_dir_phys_t *dd; | ||||
int err; | int err; | ||||
▲ Show 20 Lines • Show All 315 Lines • Show Last 20 Lines |
is this change intentional?