Whamcloud - gitweb
LU-13005 lnet: Support checking for MD leaks.
[fs/lustre-release.git] / lnet / selftest / rpc.c
index 5ebd0e5..99e3774 100644 (file)
@@ -1674,6 +1674,7 @@ srpc_shutdown (void)
                rc = LNetClearLazyPortal(SRPC_FRAMEWORK_REQUEST_PORTAL);
                rc = LNetClearLazyPortal(SRPC_REQUEST_PORTAL);
                LASSERT(rc == 0);
+               lnet_assert_handler_unused(srpc_data.rpc_lnet_handler);
                /* fallthrough */
 
        case SRPC_STATE_NI_INIT: