+8
−8
Loading
Not context passed to vhost_dev_for_each_session() but struct spdk_vhost_session had been passed to the callback to vhost_dev_for_each_session() by mistake. This patch fixes the bug. Besides, rename ctx by ev_ctx to avoid potential future degradation. Fixes issue #1306. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I8ceed4e1bb7c0c27fb75516527e3bad91a054b02 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1432 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Karol Latecki <karol.latecki@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Darek Stojaczyk <dariusz.stojaczyk@intel.com>