Loading
module/compress: Clear vol element in comp_bdev struct on vol unload
When a vol is unloaded, the vol element in comp_bdev element needs to be NULL'd so that when the comp_bdev destruct entry point is called, we won't try to unload the vol again. fixes issue #928 Signed-off-by:paul luse <paul.e.luse@intel.com> Change-Id: If267335cbe2234c62351cfc39d33b0ea698ca893 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/466441 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Karol Latecki <karol.latecki@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>