Commit b4b7b9f5 authored by Thanos Makatos's avatar Thanos Makatos Committed by Jim Harris
Browse files

util: assert when epoll_ctl fails to remove fd



Signed-off-by: default avatarThanos Makatos <thanos.makatos@nutanix.com>
Change-Id: I05332790fe105101387dd93ce226c48e2aa4402b
Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/15993


Reviewed-by: default avatarChangpeng Liu <changpeliu@tencent.com>
Tested-by: default avatarSPDK Automated Test System <spdkbot@gmail.com>
Reviewed-by: default avatarJohn Levon <levon@movementarian.org>
Reviewed-by: default avatarJim Harris <jim.harris@nvidia.com>
Community-CI: Mellanox Build Bot
parent 43f988b2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -483,6 +483,7 @@ spdk_fd_group_remove(struct spdk_fd_group *fgrp, int efd)
	if (rc < 0) {
		SPDK_ERRLOG("Failed to remove fd: %d from fd group(%p): %s\n",
			    ehdlr->fd, fgrp, strerror(errno));
		assert(0);
		return;
	}