-
由 Greg Thelen 提交于
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: NGreg Thelen <gthelen@google.com> Signed-off-by: NAaron Durbin <adurbin@google.com> Signed-off-by: NTejun Heo <tj@kernel.org>
205a872b