Re: cgroup: convert to kernfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux