summaryrefslogtreecommitdiffstats
path: root/include/sys/zvol.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/zvol.h')
-rw-r--r--include/sys/zvol.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sys/zvol.h b/include/sys/zvol.h
index 00ed220d3..2fb20fbf9 100644
--- a/include/sys/zvol.h
+++ b/include/sys/zvol.h
@@ -32,6 +32,9 @@
#define ZVOL_OBJ 1ULL
#define ZVOL_ZAP_OBJ 2ULL
+#define SPEC_MAXOFFSET_T ((1LL << ((NBBY * sizeof (daddr32_t)) + \
+ DEV_BSHIFT - 1)) - 1)
+
extern void *zvol_tag;
extern void zvol_create_minors(spa_t *spa, const char *name, boolean_t async);