Re: [PATCH 2/3] scsi_dh_alua: Ensure that alua_activate() calls the completion function

2017-03-18 Thread Hannes Reinecke
On 03/18/2017 01:02 AM, Bart Van Assche wrote: > Callers of scsi_dh_activate(), e.g. dm-mpath, assume that this > function either returns an error code or calls the completion > function. Make alua_activate() call the completion function even > if scsi_device_get() fails. > > Signed-off-by: Bart

[PATCH 2/3] scsi_dh_alua: Ensure that alua_activate() calls the completion function

2017-03-17 Thread Bart Van Assche
Callers of scsi_dh_activate(), e.g. dm-mpath, assume that this function either returns an error code or calls the completion function. Make alua_activate() call the completion function even if scsi_device_get() fails. Signed-off-by: Bart Van Assche Cc: Hannes Reinecke