aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorSagi Grimberg <[email protected]>2020-11-09 10:57:34 +0000
committerChristoph Hellwig <[email protected]>2020-11-09 16:39:15 +0000
commit65c5a055b0d567b7e7639d942c0605da9cc54c5e (patch)
treefeb2d7ce2260930cb8d297ec2e80bffbddd20024 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentnull_blk: Fix scheduling in atomic with zoned mode (diff)
downloadkernel-65c5a055b0d567b7e7639d942c0605da9cc54c5e.tar.gz
kernel-65c5a055b0d567b7e7639d942c0605da9cc54c5e.zip
nvme: fix incorrect behavior when BLKROSET is called by the user
The offending commit breaks BLKROSET ioctl because a device revalidation will blindly override BLKROSET setting. Hence, we remove the disk rw setting in case NVME_NS_ATTR_RO is cleared from by the controller. Fixes: 1293477f4f32 ("nvme: set gendisk read only based on nsattr") Signed-off-by: Sagi Grimberg <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions