diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-10-13 15:52:06 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-18 07:49:48 +0300 |
commit | ff65212cc4698f532c452a14fdb94a3b1d1f283d (patch) | |
tree | 746e5a4456f6bbeed5f0d92fe20a4f49bbd1fc96 /fs/hfs/btree.c | |
parent | edf5600870121f83a20157d102ad12211c226ee0 (diff) | |
download | linux-ff65212cc4698f532c452a14fdb94a3b1d1f283d.tar.xz |
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 'fs/hfs/btree.c')
0 files changed, 0 insertions, 0 deletions