If there is an error in iscsi_service or on poll we exit the event_loop. But in this case scsi_sync_cb is never reached and the status is 0. This will make the caller think that the sync task has been completed successfully.
21 KiB
21 KiB