Spdk/module/bdev/compress
paul luse 3157ce5c4a 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>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/466441 (master)

(cherry picked from commit f4e401ea36)
Change-Id: If267335cbe2234c62351cfc39d33b0ea698ca893
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/467141
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2019-09-09 21:55:22 +00:00
..
Makefile mk: move the bdev modules under module directory. 2019-09-06 02:19:41 +00:00
vbdev_compress_rpc.c mk: move the bdev modules under module directory. 2019-09-06 02:19:41 +00:00
vbdev_compress.c module/compress: Clear vol element in comp_bdev struct on vol unload 2019-09-09 21:55:22 +00:00
vbdev_compress.h mk: move the bdev modules under module directory. 2019-09-06 02:19:41 +00:00