X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=include%2Fsys%2Fdmu.h;h=3f9c711b95e2cf9c036b47214fe86ab448c310bc;hb=5ffb9d1d05d7c512b987dff51f587466d537770f;hp=da1aa30fc73ff7b9a98bed452e5a6620ff1ea7a2;hpb=8d35c1499de42a1910ac1bb3a9c537ddc43c7d4d;p=zfs.git diff --git a/include/sys/dmu.h b/include/sys/dmu.h index da1aa30..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,