aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
diff options
context:
space:
mode:
authorNicholas Bellinger <[email protected]>2015-09-17 03:23:53 +0000
committerNicholas Bellinger <[email protected]>2015-09-25 06:17:27 +0000
commit8fa3a867486f85df66eba8c4df85804d3309c6ad (patch)
tree9008062c9e3567b5cf5d3b589bf7e57259da7692 /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
parenttarget: Fix target_sense_desc_format NULL pointer dereference (diff)
downloadkernel-8fa3a867486f85df66eba8c4df85804d3309c6ad.tar.gz
kernel-8fa3a867486f85df66eba8c4df85804d3309c6ad.zip
target: Make TCM_WRITE_PROTECT failure honor D_SENSE bit
This patch changes transport_lookup_cmd_lun() to obtain se_lun->lun_ref + se_cmd->se_device rcu_dereference during TCM_WRITE_PROTECT -> CHECK_CONDITION failure status. Do this to ensure the active control D_SENSE mode page bit is being honored. Reported-by: Sagi Grimberg <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions