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>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user