diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2017-03-17 17:02:02 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-03-19 13:16:17 -0400 |
commit | 7cb689fe42927281b8d98606ae5450173fcc66a9 (patch) | |
tree | 802764e7495d034b88a3868e6e23d1c4d75e6bfa /drivers/scsi/libsas | |
parent | 625fe857e4fac6518716f3c0ff5e5deb8ec6d238 (diff) | |
download | linux-7cb689fe42927281b8d98606ae5450173fcc66a9.tar.bz2 |
scsi: scsi_dh_alua: Ensure that alua_activate() calls the completion function
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.vanassche@sandisk.com>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Tang Junhui <tang.junhui@zte.com.cn>
Cc: <stable@vger.kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/libsas')
0 files changed, 0 insertions, 0 deletions