+1
−3
+6
−7
Loading
Invoking the callback before the function returns (in the sync fallback case) is very error-prone. The user can fall back to the synchronous version of connect on their own if async is not supported by the module. Change-Id: I01f42c3c125c6a15d9f04efa6ec141cbca984a5e Signed-off-by:Jacek Kalwas <jacek.kalwas@nutanix.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26152 Reviewed-by:
Tomasz Zawadzki <tomasz@tzawadzki.com> Tested-by:
SPDK Automated Test System <spdkbot@gmail.com> Reviewed-by:
Konrad Sztyber <ksztyber@nvidia.com> Community-CI: Mellanox Build Bot