aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2017-03-17 17:02:02 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2017-03-19 13:16:17 -0400
commit7cb689fe42927281b8d98606ae5450173fcc66a9 (patch)
tree802764e7495d034b88a3868e6e23d1c4d75e6bfa /tools/perf/util/scripting-engines/trace-event-python.c
parentscsi: scsi_dh_alua: Check scsi_device_get() return value (diff)
downloadwireguard-linux-7cb689fe42927281b8d98606ae5450173fcc66a9.tar.xz
wireguard-linux-7cb689fe42927281b8d98606ae5450173fcc66a9.zip
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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions