aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorнаб <[email protected]>2021-12-21 18:44:41 +0100
committerBrian Behlendorf <[email protected]>2021-12-23 09:42:29 -0800
commitce767d69b010dd1cdd9523b64c16b75f1c0c1eaf (patch)
tree5abb5523f7ce06f820916c055bbd032109fefdf3
parent36542b065de97771ac00cefb23c2f464b349fd2d (diff)
module: zfs: vdev: shim out vdev_indirect_births_verify()
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #12844
-rw-r--r--module/zfs/vdev_indirect_births.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/zfs/vdev_indirect_births.c b/module/zfs/vdev_indirect_births.c
index 99b83c392..e8f925628 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