aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/ObjectID.h
diff options
context:
space:
mode:
authorMatthew R. Ochs <[email protected]>2015-10-21 15:11:18 -0500
committerJames Bottomley <[email protected]>2015-10-30 17:00:52 +0900
commit22fe1ae80fd14cb64be61d004b5e6c324bb6e984 (patch)
treec9615f6e139529acb8fbd011eb576e4fdddca852 /drivers/gpu/drm/amd/amdgpu/ObjectID.h
parent471a5a60aaf13b2323d2b63d212bbdd6ce2bef28 (diff)
cxlflash: Fix potential oops following LUN removal
When a LUN is removed, the sdev that is associated with the LUN remains intact until its reference count drops to 0. In order to prevent an sdev from being removed while a context is still associated with it, obtain an additional reference per-context for each LUN attached to the context. This resolves a potential Oops in the release handler when a dealing with a LUN that has already been removed. Signed-off-by: Matthew R. Ochs <[email protected]> Signed-off-by: Manoj N. Kumar <[email protected]> Reviewed-by: Brian King <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/ObjectID.h')
0 files changed, 0 insertions, 0 deletions