From 36542b065de97771ac00cefb23c2f464b349fd2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Tue, 21 Dec 2021 18:44:20 +0100 Subject: [PATCH] module: zfs: spa: shim out vdev_count_verify_zaps() 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/spa.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/zfs/spa.c b/module/zfs/spa.c index e5c41dc2b0..896277c883 100644 --- a/module/zfs/spa.c +++ b/module/zfs/spa.c @@ -2996,6 +2996,8 @@ vdev_count_verify_zaps(vdev_t *vd) return (total); } +#else +#define vdev_count_verify_zaps(vd) ((void) sizeof (vd), 0) #endif /*