+19
−8
Loading
There are multiple locations where a struct lvol_store is allocated. This invites inconsistency in initialization, which will become more of a problem as esnap clones have additional initialization. Now all struct lvol_store allocations should be done with lvs_alloc(). Signed-off-by:Mike Gerdts <mgerdts@nvidia.com> Change-Id: I07a2f274475375072f80c25ed67cb1fb802cc4e1 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16231 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Ben Walker <benjamin.walker@intel.com>