summaryrefslogtreecommitdiffstats
path: root/drivers/vhost
diff options
context:
space:
mode:
authorDan Carpenter2015-10-13 14:52:06 +0200
committerGreg Kroah-Hartman2015-10-18 06:49:48 +0200
commitff65212cc4698f532c452a14fdb94a3b1d1f283d (patch)
tree746e5a4456f6bbeed5f0d92fe20a4f49bbd1fc96 /drivers/vhost
parentmei: amthif: Do not compare bool to 0/1 (diff)
downloadkernel-qcow2-linux-ff65212cc4698f532c452a14fdb94a3b1d1f283d.tar.gz
kernel-qcow2-linux-ff65212cc4698f532c452a14fdb94a3b1d1f283d.tar.xz
kernel-qcow2-linux-ff65212cc4698f532c452a14fdb94a3b1d1f283d.zip
misc: mic/scif: re-take a lock on error path
The caller expects that we take this lock again before returning otherwise it you get double unlocks and races. Fixes: ba612aa8b487 ('misc: mic: SCIF memory registration and unregistration') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Sudeep Dutt <sudeep.dutt@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions