diff options
| author | Mike Christie <[email protected]> | 2020-07-01 20:43:17 -0500 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-07-08 00:14:21 -0400 |
| commit | 63c9ffe473d3eb0910cadd35685c93c3edeff19f (patch) | |
| tree | 366c48730861efe4c7539f469b87385b7f1d39f6 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 86f2da1112ccf744ad9068b1d5d9843faf8ddee6 (diff) | |
scsi: target: Check enforce_pr_isids during registration
Move the check for enforce_pr_isids to the registration code where we can
fail at the time an initiator tries to register a path without an isid. In
its current place in __core_scsi3_locate_pr_reg, it is too late because it
can be registered and be reported in PR in commands and it is stuck in this
state because we cannot unregister it.
[mkp: applied by hand]
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Lee Duncan <[email protected]>
Signed-off-by: Mike Christie <[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