summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMaurizio Lombardi <mlombard@redhat.com>2020-03-13 20:06:56 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2020-03-27 04:47:47 +0300
commit626bac73371eed79e2afa2966de393da96cf925e (patch)
tree8485a2e68d63fe7467dbedb141f539175223de35 /tools/perf/scripts/python/export-to-postgresql.py
parent57c46e9f33da530a2485fa01aa27b6d18c28c796 (diff)
downloadlinux-626bac73371eed79e2afa2966de393da96cf925e.tar.xz
scsi: target: iscsi: calling iscsit_stop_session() inside iscsit_close_session() has no effect
iscsit_close_session() can only be called when nconn is zero (otherwise a kernel panic is triggered). If nconn is zero then iscsit_stop_session() does nothing and exits, so calling it makes no sense. We still need to call iscsit_check_session_usage_count() because this function will sleep if the session's refcount is not zero and we don't want to destroy the session structure if it's still being referenced. Link: https://lore.kernel.org/r/20200313170656.9716-4-mlombard@redhat.com Tested-by: Rahul Kundu <rahul.kundu@chelsio.com> Signed-off-by: Maurizio Lombardi <mlombard@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions