aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/cgroup.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2014-05-13 11:27:24 -0400
committerTejun Heo <tj@kernel.org>2014-05-13 11:27:24 -0400
commitd39ea871c3c1269e2852ea096fff492ea034df8a (patch)
tree762859cc57b776048a968f1ab9ceb06d06d4ffb4 /include/linux/cgroup.h
parentcgroup: remove unused CGRP_SANE_BEHAVIOR (diff)
parentpercpu-refcount: implement percpu_ref_tryget() (diff)
downloadlinux-dev-d39ea871c3c1269e2852ea096fff492ea034df8a.tar.xz
linux-dev-d39ea871c3c1269e2852ea096fff492ea034df8a.zip
Merge branch 'for-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu into for-3.16
Pull to receive percpu_ref_tryget[_live]() changes. Planned cgroup changes will make use of them. Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/cgroup.h')
-rw-r--r--include/linux/cgroup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index f482f95c2c72..6ab3ee5d4a14 100644
--- a/include/linux/cgroup.h
+++ b/include/linux/cgroup.h
@@ -108,7 +108,7 @@ static inline bool css_tryget(struct cgroup_subsys_state *css)
{
if (css->flags & CSS_ROOT)
return true;
- return percpu_ref_tryget(&css->refcnt);
+ return percpu_ref_tryget_live(&css->refcnt);
}
/**