Re: [PATCH cgroup/for-3.12 1/2] cgroup: fix cgroup_write_event_control()

From
Tejun Heo <hidden>
Date
2013-08-15 15:41:46
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
Thread (1 message) 1 message, 1 author, last reply 2013-08-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help