diff options
author | Bodo Stroesser <bstroesser@ts.fujitsu.com> | 2020-04-27 18:08:20 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-05-08 05:39:17 +0300 |
commit | 9299941716a3082e5335fe751ce433cdb62b26d0 (patch) | |
tree | cd57bbf7cfbcab7125fbe136ba2e62b5f7b76300 /drivers/pcmcia/i82092aa.h | |
parent | e869f8ea6a643103faad8949ae7153cab6bfa702 (diff) | |
download | linux-9299941716a3082e5335fe751ce433cdb62b26d0.tar.xz |
scsi: target: Add missing emulate_pr attribute to passthrough backends
In commit b49d6f788530 ("scsi: target: add emulate_pr backstore attr to
toggle PR support") the new attribute emulate_pr was added.
passthrough_parse_cdb() uses the attribute's value to distinguish whether
reservation commands should be rejected or not. But the new attribute was
not added to passthrough_attrib_attrs, so in pscsi and tcmu - the users of
passthrough_parse_cdb() - the attribute is not available to change parser's
behavior.
Link: https://lore.kernel.org/r/20200427150823.15350-2-bstroesser@ts.fujitsu.com
Reviewed-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Bodo Stroesser <bstroesser@ts.fujitsu.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/pcmcia/i82092aa.h')
0 files changed, 0 insertions, 0 deletions