summaryrefslogtreecommitdiffstats
path: root/drivers/powercap/Kconfig
diff options
context:
space:
mode:
authorMatthew R. Ochs <mrochs@linux.vnet.ibm.com>2015-10-21 22:11:18 +0200
committerJames Bottomley <JBottomley@Odin.com>2015-10-30 09:00:52 +0100
commit22fe1ae80fd14cb64be61d004b5e6c324bb6e984 (patch)
treec9615f6e139529acb8fbd011eb576e4fdddca852 /drivers/powercap/Kconfig
parentcxlflash: Fix read capacity timeout (diff)
downloadlinux-22fe1ae80fd14cb64be61d004b5e6c324bb6e984.tar.xz
linux-22fe1ae80fd14cb64be61d004b5e6c324bb6e984.zip
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 <mrochs@linux.vnet.ibm.com> Signed-off-by: Manoj N. Kumar <manoj@linux.vnet.ibm.com> Reviewed-by: Brian King <brking@linux.vnet.ibm.com> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/powercap/Kconfig')
0 files changed, 0 insertions, 0 deletions