X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=include%2Fsys%2Fdmu.h;h=3f9c711b95e2cf9c036b47214fe86ab448c310bc;hb=3541dc6d02592bd0939ea2d35b50c2bbdcc4cd0e;hp=20733f5023271b853519affb869b862228c7b0cf;hpb=61e909608d15dc6900a710a0ceab6e101a68ac5a;p=zfs.git diff --git a/include/sys/dmu.h b/include/sys/dmu.h index 20733f5..3f9c711 100644 --- a/include/sys/dmu.h +++ b/include/sys/dmu.h @@ -643,6 +643,7 @@ extern uint64_t dmu_objset_syncprop(objset_t *os); extern uint64_t dmu_objset_logbias(objset_t *os); extern int dmu_snapshot_list_next(objset_t *os, int namelen, char *name, uint64_t *id, uint64_t *offp, boolean_t *case_conflict); +extern int dmu_snapshot_id(objset_t *os, const char *snapname, uint64_t *idp); extern int dmu_snapshot_realname(objset_t *os, char *name, char *real, int maxlen, boolean_t *conflict); extern int dmu_dir_list_next(objset_t *os, int namelen, char *name, @@ -721,6 +722,7 @@ typedef struct dmu_recv_cookie { char *drc_top_ds; boolean_t drc_newfs; boolean_t drc_force; + struct avl_tree *drc_guid_to_ds_map; } dmu_recv_cookie_t; int dmu_recv_begin(char *tofs, char *tosnap, char *topds, struct drr_begin *,