Loading
test/unit/blob: do not hardcode size of reserved field
bs_test_recover_cluster_count() builds a super block field by field. But it zeroes the reserved field with a hardcoded size, instead of getting the size of the reserved field. Signed-off-by:Jim Harris <jim.harris@samsung.com> Change-Id: I04be4ec8bf65d8e95b592ca5d262961026b72d95 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25369 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <ben@nvidia.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Alliswell <hisunzhenliang@outlook.com>