From 855e49e881b326a834140874408e2710d2b17c7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Tue, 21 Dec 2021 18:44:53 +0100 Subject: [PATCH] module: zfs: vdev: shim out vdev_indirect_mapping_verify() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Brian Behlendorf Signed-off-by: Ahelenia ZiemiaƄska Closes #12844 --- module/zfs/vdev_indirect_mapping.c | 2 ++ 1 file changed, 2 insertions(+) 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