diff options
author | Alexey Khoroshilov <[email protected]> | 2014-05-07 01:26:04 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2014-05-27 14:08:46 -0700 |
commit | a0f104644ec27ce5bbb36e950eb426dba9a3ad44 (patch) | |
tree | 1b6a9e19b07eda7cf09408403cb84822c58436da /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 8a0427d192e6043834414210dd14cc1289daff18 (diff) |
w1: do not unlock unheld list_mutex in __w1_remove_master_device()
w1_process_callbacks() expects to be called with dev->list_mutex held,
but it is the fact only in w1_process(). __w1_remove_master_device()
calls w1_process_callbacks() after it releases list_mutex.
The patch fixes __w1_remove_master_device() to acquire list_mutex
for w1_process_callbacks().
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <[email protected]>
Acked-by: David Fries <[email protected]>
Acked-by: Evgeniy Polyakov <[email protected]>
Cc: stable <[email protected]> # 3.15
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions