From ce767d69b010dd1cdd9523b64c16b75f1c0c1eaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Tue, 21 Dec 2021 18:44:41 +0100 Subject: [PATCH] module: zfs: vdev: shim out vdev_indirect_births_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_births.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/zfs/vdev_indirect_births.c b/module/zfs/vdev_indirect_births.c index 99b83c3922..e8f925628d 100644 --- a/module/zfs/vdev_indirect_births.c +++ b/module/zfs/vdev_indirect_births.c @@ -38,6 +38,8 @@ vdev_indirect_births_verify(vdev_indirect_births_t *vib) return (B_TRUE); } +#else +#define vdev_indirect_births_verify(vib) ((void) sizeof (vib), B_TRUE) #endif uint64_t