mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-09 15:29:16 +00:00
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>
This commit is contained in:
parent
e869f8ea6a
commit
9299941716
@ -1203,6 +1203,7 @@ struct configfs_attribute *passthrough_attrib_attrs[] = {
|
||||
&attr_hw_block_size,
|
||||
&attr_hw_max_sectors,
|
||||
&attr_hw_queue_depth,
|
||||
&attr_emulate_pr,
|
||||
&attr_alua_support,
|
||||
&attr_pgr_support,
|
||||
NULL,
|
||||
|
Loading…
x
Reference in New Issue
Block a user