On Thu, Aug 15, 2013 at 11:40:32AM -0400, Tejun Heo wrote:
From 994a762080e4b136171c82ac78f7d7bbf17a451d Mon Sep 17 00:00:00 2001
From: Tejun Heo <redacted>
Date: Wed, 14 Aug 2013 23:38:21 -0400
81eeaf0411 ("cgroup: make cftype->[un]register_event() deal with
cgroup_subsys_state inst ead of cgroup") updated the cftype event
methods to take @css (cgroup_subsys_state) instead of @cgroup;
however, it incorrectly used @css passed to
cgroup_write_event_control(), which the dummy_css for the cgroup as
the file is a cgroup core file. This leads to oops on event
registration.
Fix it by using the css matching the event target file.
Signed-off-by: Tejun Heo <redacted>
Oops, wrong patch. Please ignore. Will resend soon.
Sorry about the noise.
--
tejun