Files
linux/drivers/misc
Frederic Barrat 8fe4345d6a cxl: Fix error path on bad ioctl
commit cec422c11c upstream.

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: 0712dc7e73 ("cxl: Fix issues when unmapping contexts")
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-06-14 13:16:24 +02:00
..
2017-06-14 13:16:24 +02:00
2014-02-28 14:08:42 -08:00
2017-01-12 11:22:47 +01:00
2016-05-04 14:48:51 -07:00
2015-03-16 21:10:28 +01:00
2013-08-27 08:28:01 -07:00
2015-10-29 09:02:16 +09:00