summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorFrederic Barrat <fbarrat@linux.vnet.ibm.com>2017-06-06 11:43:41 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2017-06-08 20:42:31 +1000
commitcec422c11caeeccae709e9942058b6b644ce434c (patch)
treeb1d9aeb6a5653feabb6380c34eb7bde22a4a80a7 /arch/powerpc
parent8c218578fcbbbdb10416c8614658bf32e3bf1655 (diff)
downloadlinux-cec422c11caeeccae709e9942058b6b644ce434c.tar.gz
linux-cec422c11caeeccae709e9942058b6b644ce434c.tar.xz
cxl: Fix error path on bad ioctl
Fix error path if we can't copy user structure on CXL_IOCTL_START_WORK ioctl. We shouldn't unlock the context status mutex as it was not locked (yet). Fixes: 0712dc7e73e5 ("cxl: Fix issues when unmapping contexts") Cc: stable@vger.kernel.org # v3.19+ Signed-off-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com> Reviewed-by: Vaibhav Jain <vaibhav@linux.vnet.ibm.com> Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions