diff options
| author | David Disseldorp <[email protected]> | 2021-07-28 13:53:52 +0200 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-08-03 07:27:42 -0400 |
| commit | 7e457e5efc2856e10623e28047a4d8c92ef0aa69 (patch) | |
| tree | 457eb6ed52c3a066aebcf9bc3242184dffddb2ef /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 018c14911dd7e2feedd96d440f12ea999e459fff (diff) | |
scsi: target: core: Avoid using lun_tg_pt_gp after unlock
core_alua_state_lba_dependent() currently uses lun->lun_tg_pt_gp without
holding the lun_tg_pt_gp_lock. The lock is taken in the caller, so obtain
the needed tg_pt_gp_id there instead.
Link: https://lore.kernel.org/r/[email protected]
Cc: Hannes Reinecke <[email protected]>
Reviewed-by: Mike Christie <[email protected]>
Signed-off-by: David Disseldorp <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions