Skip to content

Commit

Permalink
css_put imbalance
Browse files Browse the repository at this point in the history
Signed-off-by: Tadeusz Struk <tadeusz.struk@linaro.org>
Change-Id: I453cfab851487f9fe0d47b5cbd3be657c7344689
  • Loading branch information
tstruk committed Jun 1, 2022
1 parent 3bfd8e2 commit 98fd293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/cgroup/cgroup.c
Expand Up @@ -1565,7 +1565,7 @@ void cgroup_kn_unlock(struct kernfs_node *kn)

printk("!!!!! cgroup_kn_unlock css %llx flags %x !!!\n", &cgrp->self, cgrp->self.refcnt);
//if (!percpu_ref_is_dying(&cgrp->self.refcnt))
if (!(cgrp->self.refcnt & CSS_RELEASED))
if (!(cgrp->self.flags & CSS_RELEASED))
cgroup_put(cgrp);
}

Expand Down

0 comments on commit 98fd293

Please sign in to comment.