diff --git a/module/zfs/vdev_indirect_mapping.c b/module/zfs/vdev_indirect_mapping.c index bb484a401b..4ade56e062 100644 --- a/module/zfs/vdev_indirect_mapping.c +++ b/module/zfs/vdev_indirect_mapping.c @@ -54,6 +54,8 @@ vdev_indirect_mapping_verify(vdev_indirect_mapping_t *vim) return (B_TRUE); } +#else +#define vdev_indirect_mapping_verify(vim) ((void) sizeof (vim), B_TRUE) #endif uint64_t