aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/os/linux/spl/sys/errno.h10
-rw-r--r--include/sys/zio.h10
2 files changed, 10 insertions, 10 deletions
diff --git a/include/os/linux/spl/sys/errno.h b/include/os/linux/spl/sys/errno.h
index 6015b1a3e..f6d9212a6 100644
--- a/include/os/linux/spl/sys/errno.h
+++ b/include/os/linux/spl/sys/errno.h
@@ -44,4 +44,14 @@
#define ENOTSUP EOPNOTSUPP
+/*
+ * We'll take the unused errnos, 'EBADE' and 'EBADR' (from the Convergent
+ * graveyard) to indicate checksum errors and fragmentation.
+ */
+#define ECKSUM EBADE
+#define EFRAGS EBADR
+
+/* Similar for ENOACTIVE */
+#define ENOTACTIVE ENOANO
+
#endif /* _SYS_ERRNO_H */
diff --git a/include/sys/zio.h b/include/sys/zio.h
index bf441ff8d..23a4a6ea9 100644
--- a/include/sys/zio.h
+++ b/include/sys/zio.h
@@ -265,16 +265,6 @@ enum zio_wait_type {
ZIO_WAIT_TYPES
};
-/*
- * We'll take the unused errnos, 'EBADE' and 'EBADR' (from the Convergent
- * graveyard) to indicate checksum errors and fragmentation.
- */
-#define ECKSUM EBADE
-#define EFRAGS EBADR
-
-/* Similar for ENOACTIVE */
-#define ENOTACTIVE ENOANO
-
typedef void zio_done_func_t(zio_t *zio);
extern int zio_dva_throttle_enabled;