Skip to content

Commit

Permalink
module: zfs: spa: shim out vdev_count_verify_zaps()
Browse files Browse the repository at this point in the history
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes openzfs#12844
  • Loading branch information
nabijaczleweli authored and nicman23 committed Aug 22, 2022
1 parent 07c0fd7 commit f5570d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions module/zfs/spa.c
Original file line number Diff line number Diff line change
Expand Up @@ -3004,6 +3004,8 @@ vdev_count_verify_zaps(vdev_t *vd)

return (total);
}
#else
#define vdev_count_verify_zaps(vd) ((void) sizeof (vd), 0)
#endif

/*
Expand Down

0 comments on commit f5570d3

Please sign in to comment.