diff options
| author | Ming Lei <[email protected]> | 2021-06-02 13:30:29 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-06-08 02:12:44 +0000 |
| commit | 1e0d4e6225996f05271de1ebcb1a7c9381af0b27 (patch) | |
| tree | b1ace5f79c2eb2767501365652c1b6221ef2c63d /tools/perf/scripts/python/flamegraph.py | |
| parent | scsi: core: Put .shost_dev in failure path if host state changes to RUNNING (diff) | |
| download | kernel-1e0d4e6225996f05271de1ebcb1a7c9381af0b27.tar.gz kernel-1e0d4e6225996f05271de1ebcb1a7c9381af0b27.zip | |
scsi: core: Only put parent device if host state differs from SHOST_CREATED
get_device(shost->shost_gendev.parent) is called after host state has
switched to SHOST_RUNNING. scsi_host_dev_release() shouldn't release the
parent device if host state is still SHOST_CREATED.
Link: https://lore.kernel.org/r/[email protected]
Cc: Bart Van Assche <[email protected]>
Cc: John Garry <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Tested-by: John Garry <[email protected]>
Reviewed-by: John Garry <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
