diff options
author | Greg Thelen <gthelen@google.com> | 2012-11-29 01:50:44 +0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2012-11-29 01:51:56 +0400 |
commit | 205a872bd6f9a9a09ef035ef1e90185a8245cc58 (patch) | |
tree | 9b39a5823dddf6319a021d4ab36c7cd35f612908 /crypto | |
parent | fddfb02ad0d0d3b479c2a26a8ae7e6411b34706b (diff) | |
download | linux-205a872bd6f9a9a09ef035ef1e90185a8245cc58.tar.xz |
cgroup: fix lockdep warning for event_control
The cgroup_event_wake() function is called with the wait queue head
locked and it takes cgrp->event_list_lock. However, in cgroup_rmdir()
remove_wait_queue() was being called after taking
cgrp->event_list_lock. Correct the lock ordering by using a temporary
list to obtain the event list to remove from the wait queue.
Signed-off-by: Greg Thelen <gthelen@google.com>
Signed-off-by: Aaron Durbin <adurbin@google.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions