diff options
| author | Dmitry Bogdanov <[email protected]> | 2022-05-23 12:59:03 +0300 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2022-06-07 21:55:11 -0400 |
| commit | a11b80692be5c408a33ea89e3fe1a240bef8c820 (patch) | |
| tree | 75392d8ec55032080d99c6f5fe5c36bedfde749f /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 4dc48a107a146cade61097958ff2366c13da1f60 (diff) | |
scsi: target: iscsi: Add upcast helpers
iSCSI target is cluttered with open-coded container_of() conversions from
se_nacl to iscsi_node_acl. The code could be cleaned by introducing a
helper - to_iscsi_nacl() (similar to other helpers in target core).
While at it, make another iSCSI conversion helper consistent and rename
iscsi_tpg() helper to to_iscsi_tpg().
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Roman Bolshakov <[email protected]>
Reviewed-by: Konstantin Shelekhin <[email protected]>
Reviewed-by: Mike Christie <[email protected]>
Reviewed-by: Lee Duncan <[email protected]>
Signed-off-by: Dmitry Bogdanov <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions