summaryrefslogtreecommitdiff
path: root/include/linux/writeback.h
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2015-11-14 16:17:56 -0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-10 10:26:12 +0200
commit32f8815fca323a434acf91aa5c424bc5e646113c (patch)
treeb11864e607e501b71dde46ba561fa50197ce520e /include/linux/writeback.h
parent623770a962079868d97810329e20c2af2bfd176c (diff)
lirc_imon: do not leave imon_probe() with mutex held
commit b833d0df943d70682e288c38c96b8e7bfff4023a upstream. Commit af8a819a2513 ("[media] lirc_imon: simplify error handling code") lost mutex_unlock(&context->ctx_lock), so imon_probe() exits with the context->ctx_lock mutex acquired. The patch adds mutex_unlock(&context->ctx_lock) back. Found by Linux Driver Verification project (linuxtesting.org). Fixes: af8a819a2513 ("[media] lirc_imon: simplify error handling code") Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/writeback.h')
0 files changed, 0 insertions, 0 deletions