+16
−10
Loading
This refactors the code paths that call lvs_load() to allocate the spdk_lvol_store structure before calling lvs_load(). Previously this allocation was done in lvs_load_cb(). This is being done because a later patch requires a pointer to the structure to be passed to lvs_load via the spdk_bs_opts structure. Signed-off-by:Mike Gerdts <mgerdts@nvidia.com> Change-Id: I2e942d1f7525fa5a16cd34b1b4b3a0a821e13006 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17220 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Jim Harris <james.r.harris@intel.com>