X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=include%2Fsys%2Fzvol.h;h=c05f81a5ff54fd4c8466fd5661afb1d4dd1b3a76;hb=044baf009aac4935eca0f96477eb3c43e95d758a;hp=c8b9d65071691abc81aca127bd12e289dd632ae4;hpb=6283f55ea1b91e680386388c17d14b89e344fa8d;p=zfs.git diff --git a/include/sys/zvol.h b/include/sys/zvol.h index c8b9d65..c05f81a 100644 --- a/include/sys/zvol.h +++ b/include/sys/zvol.h @@ -33,11 +33,10 @@ #ifdef _KERNEL -#include - extern int zvol_check_volsize(uint64_t volsize, uint64_t blocksize); extern int zvol_check_volblocksize(uint64_t volblocksize); extern int zvol_get_stats(objset_t *os, nvlist_t *nv); +extern boolean_t zvol_is_zvol(const char *); extern void zvol_create_cb(objset_t *os, void *arg, cred_t *cr, dmu_tx_t *tx); extern int zvol_create_minor(const char *); extern int zvol_create_minors(const char *); @@ -45,6 +44,7 @@ extern int zvol_remove_minor(const char *); extern void zvol_remove_minors(const char *); extern int zvol_set_volsize(const char *, uint64_t); extern int zvol_set_volblocksize(const char *, uint64_t); +extern int zvol_set_snapdev(const char *, uint64_t); extern int zvol_init(void); extern void zvol_fini(void);