lkml.org 
[lkml]   [2011]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] cgroup: remove extra calls to find_existing_css_set
On Thu, Dec 22, 2011 at 02:26:56PM -0800, Mandeep Singh Baines wrote:
> +out_list_teardown:
> + if (retval) {
> + for (i = 0; i < group_size; i++) {
> + tc = flex_array_get(group, i);
> + put_css_set(tc->cg);
> + }
> + }

Don't we need to put them even after success?

--
tejun


\
 
 \ /
  Last update: 2011-12-23 00:15    [W:0.044 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site