b212741eeb
scan_finish function will now unconditionally finish the scan, while scan_next will continue scanning on the next target. Now that target scan be aborted from external sources (device removal during re-scan). There is simply a need for such scan_finish function. Change-Id: I49e0dd6ea7abdddc24c23af362313d657fe1dc66 Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/391866 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>