Spdk/lib/event/subsystems/nvmf
Ziye Yang 9f697e0fe2 nvmf: change judgement to assert
Reason: It should never fail, which should
comply with the logic in nvmf_tgt_destroy_poll_group.

For the current case, if the judement fails,
we still add the g_active_poll_groups, the logic
is not correct. And according to the analysis,
the poll group creation should not fail.

Change-Id: I408ee1e8099f709330b8a6ffd26cf27d6a549bed
Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
Reviewed-on: https://review.gerrithub.io/414565
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2018-06-12 01:32:35 +00:00
..
conf.c nvmf: SGL support for NVMF RDMA Driver. 2018-06-04 17:15:49 +00:00
event_nvmf.h nvmf: reduce log level of informational messages 2018-04-05 12:06:45 -04:00
Makefile nvmf: convert nvmf_tgt into an event subsystem 2018-03-09 09:56:44 -05:00
nvmf_rpc.c nvmf: allow overriding namespace UUID in RPCs 2018-06-11 07:41:39 +00:00
nvmf_tgt.c nvmf: change judgement to assert 2018-06-12 01:32:35 +00:00