diff options
author | Mike Christie <[email protected]> | 2018-08-02 12:12:26 -0500 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2018-08-02 15:29:31 -0400 |
commit | 60daca10065a13a133e88b738fdc5a40b3654575 (patch) | |
tree | 87ddff129e542ab625e0ff9f1a536a7ecc09da29 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b287e3517ed5c76ad48afdfc4f11fadb58a0707e (diff) |
scsi: tcm_fc: use target_remove_session
This converts tcm_fc to use target_remove_session
tcm_fc was calling transport_deregister_session_configfs then calling
transport_deregister_session when commands have completed. It should be ok
for it to call transport_deregister_session_configfs later via
target_remove_session because transport_deregister_session_configfs only
prevents access from configfs via tpg removal and its call to the
close_session callback for that driver, and this is already protected by
the ft_lport_lock and its port lookup handling.
Signed-off-by: Mike Christie <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Cc: Johannes Thumshirn <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions