+12
−6
Loading
External snapshots have a slightly more complicated cleanup of back_bs_dev. This moves all calls to back_bs_dev->destroy() into a function so that this more complicated cleanup can have a single implementation. Signed-off-by:Mike Gerdts <mgerdts@nvidia.com> Change-Id: I78460aa3877481788118e2b0b76931dcf5c56338 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14972 Reviewed-by:
Jim Harris <james.r.harris@intel.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>