diff options
| author | James Smart <[email protected]> | 2019-08-14 16:56:59 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-08-19 22:41:11 -0400 |
| commit | 6db51abb8dc3919b85c5d2afd35b3871399e8a81 (patch) | |
| tree | 761d4218042974a2bf209e4b09e756a08dd24bec /tools/perf/scripts/python/stackcollapse.py | |
| parent | 07b1b91412c801030752da3d32a543c5522a79d6 (diff) | |
scsi: lpfc: Fix upcall to bsg done in non-success cases
The scsi transport fc bsg interface does not expect the bsg_job_done()
callback to be done if the bsg request call returns failure. Several of the
HST_VENDOR cases in the driver unconditionally call bsg_job_done()
regardless of the returning value.
Fix the code to only call bsg_job_done() if the call to lpfc_bsg_request()
will return success.
Signed-off-by: Dick Kennedy <[email protected]>
Signed-off-by: James Smart <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions