diff options
author | Mike Christie <[email protected]> | 2023-04-07 15:05:49 -0500 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-04-11 21:55:36 -0400 |
commit | d9b3275bddd58f1e61171483c3625b5bd0841b71 (patch) | |
tree | 7073a56e2161efb1d3065275c0e1732a490ded06 /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | 53062ace0b6e47f17cae2db453858c8a369a2fe4 (diff) |
scsi: target: Pass struct target_opcode_descriptor to enabled
The iblock pr_ops support does not support commands that require port or
I_T Nexus info. This adds a struct target_opcode_descriptor as an argument
to the enabled callout so we can still have the common tcm_is_pr_enabled
and tcm_is_scsi2_reservations_enabled functions and also determine if the
command is supported based on the command and service action and device
settings.
Signed-off-by: Mike Christie <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions