aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorTahsin Erdogan <[email protected]>2016-10-10 12:35:19 +0000
committerMike Snitzer <[email protected]>2016-10-18 16:02:08 +0000
commitd09960b0032174eb493c4c13be5b9c9ef36dc9a7 (patch)
tree1dfe65031f7b8b7316806e9abc4eb69f3244295a /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdm raid: fix activation of existing raid4/10 devices (diff)
downloadkernel-d09960b0032174eb493c4c13be5b9c9ef36dc9a7.tar.gz
kernel-d09960b0032174eb493c4c13be5b9c9ef36dc9a7.zip
dm: free io_barrier after blk_cleanup_queue call
dm_old_request_fn() has paths that access md->io_barrier. The party destroying io_barrier should ensure that no future execution of dm_old_request_fn() is possible. Move io_barrier destruction to below blk_cleanup_queue() to ensure this and avoid a NULL pointer crash during request-based DM device shutdown. Cc: [email protected] # 4.3+ Signed-off-by: Tahsin Erdogan <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions