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 Van Assche <bart.vanass...@sandisk.com> > Cc: Hannes Reinecke <h...@suse.de> > Cc: Tang Junhui <tang.jun...@zte.com.cn> > Cc: <sta...@vger.kernel.org> > --- > drivers/scsi/device_handler/scsi_dh_alua.c | 20 +++++++++++++++----- > 1 file changed, 15 insertions(+), 5 deletions(-) > Reviewed-by: Hannes Reinecke <h...@suse.com>
Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage h...@suse.de +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)