From: Tejun Heo <tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Dan Carpenter <dan.carpenter-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
Cc: cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: cgroup: convert to kernfs
Date: Wed, 12 Feb 2014 14:53:16 -0500 [thread overview]
Message-ID: <20140212195316.GD26809@htj.dyndns.org> (raw)
In-Reply-To: <20140212192753.GA5217-mgFCXtclrQlZLf2FXnZxJA@public.gmane.org>
Hello, Dan.
On Wed, Feb 12, 2014 at 10:27:53PM +0300, Dan Carpenter wrote:
> kernel/cgroup.c
> 2431 int cgroup_add_cftypes(struct cgroup_subsys *ss, struct cftype *cfts)
> 2432 {
> 2433 struct cftype_set *set;
> 2434 int ret;
> 2435
> 2436 set = kzalloc(sizeof(*set), GFP_KERNEL);
> 2437 if (!set)
> 2438 return -ENOMEM;
> 2439
> 2440 ret = cgroup_init_cftypes(ss, cfts);
> 2441 if (ret)
>
> kfree(set);
Oops, thanks for the report; however, the whole cftype_set handling
gets removed by a later patch which is already committed, so the issue
shouldn't exist anymore.
Thanks!
--
tejun
prev parent reply other threads:[~2014-02-12 19:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-12 19:27 cgroup: convert to kernfs Dan Carpenter
[not found] ` <20140212192753.GA5217-mgFCXtclrQlZLf2FXnZxJA@public.gmane.org>
2014-02-12 19:53 ` Tejun Heo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140212195316.GD26809@htj.dyndns.org \
--to=tj-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
--cc=cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=dan.carpenter-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox