numam-spdk/module/bdev/compress
paul luse f4e401ea36 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>
2019-08-30 15:47:29 +00:00
..
Makefile mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
vbdev_compress_rpc.c mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
vbdev_compress.c module/compress: Clear vol element in comp_bdev struct on vol unload 2019-08-30 15:47:29 +00:00
vbdev_compress.h mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00