diff options
author | Stephen Boyd <[email protected]> | 2014-12-12 15:04:16 -0800 |
---|---|---|
committer | Michael Turquette <[email protected]> | 2014-12-15 17:02:06 -0800 |
commit | 89f7e9de59bf3e3cda2e00de12c66db22675a7cf (patch) | |
tree | 5c6581ff9dfb4fd9574025ef10aeb645b5835176 /lib/memory-notifier-error-inject.c | |
parent | c9b928148eb430bc2beb486d94efd2c3bc439a0c (diff) |
clk: Really fix deadlock with mmap_sem
Commit 6314b6796e3c (clk: Don't hold prepare_lock across debugfs
creation, 2014-09-04) forgot to update one place where we hold
the prepare_lock while creating debugfs directories. This means
we still have the chance of a deadlock that the commit was trying
to fix. Actually fix it by moving the debugfs creation outside
the prepare_lock.
Cc: <[email protected]> # 3.18
Reported-by: Russell King <[email protected]>
Fixes: 6314b6796e3c "clk: Don't hold prepare_lock across debugfs creation"
Signed-off-by: Stephen Boyd <[email protected]>
Reviewed-by: Thomas Gleixner <[email protected]>
Signed-off-by: Michael Turquette <[email protected]>
[[email protected]: removed lockdep_assert]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions