summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sd_zbc.c
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@suse.de>2019-02-04 19:32:10 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2019-02-04 21:40:32 -0500
commitb6cd7f34ba1354498de03e6882c33f935b071e99 (patch)
tree1d0efd5a93487b23e2c7702a96ec788e0f90aa21 /drivers/scsi/sd_zbc.c
parent42caa0edabd6a0a392ec36a5f0943924e4954311 (diff)
downloadlinux-b6cd7f34ba1354498de03e6882c33f935b071e99.tar.bz2
scsi: target: make the pi_prot_format ConfigFS path readable
pi_prot_format conversion to write-only caused userspace breakage. Make the ConfigFS path readable again and hardcode the "0\n" content, matching previous output. Fixes: 6baca7601bde ("scsi: target: drop unused pi_prot_format attribute storage") Link: https://bugzilla.redhat.com/show_bug.cgi?id=1667505 Reported-by: Lee Duncan <lduncan@suse.com> Reported-by: Laura Abbott <labbott@redhat.com> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: David Disseldorp <ddiss@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/sd_zbc.c')
0 files changed, 0 insertions, 0 deletions