82b8dd90d8
In comp_bdev_ch_create_cb(), list head comp_bdev->pending_comp_ios and comp_bdev->queued_comp_ops should be initialized only when comp_bdev->ch_count is 0. Besides, extra brackets for if condition can be removed. In _comp_bdev_ch_destroy_cb(), comp_bdev->ch_count is not necessary to check if it is 0 again. Fix these. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I71786423a77819c41419c51a4cfcad71b85a0b39 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1444 Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
accel | ||
bdev | ||
blob | ||
blobfs | ||
env_dpdk | ||
event | ||
sock | ||
Makefile |