The test case for_each_channel_remove() did not have any assertion and the count was not incremented correctly. This patch fixes several issues in for_each_channel_remove() by counting spdk_get/put_io_channel() and spdk_for_each_channel() correctly and achieves what we wanted to do in this test case. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Iceffd924f8887452bd7dad48e30d121874ab0b05 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/483 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
thread_ut.c |