diff options
Diffstat (limited to 'kernel/cgroup.c')
-rw-r--r-- | kernel/cgroup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c index 72fcd3069a90..ceeafe874b3f 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c | |||
@@ -4984,8 +4984,7 @@ void __css_put(struct cgroup_subsys_state *css) | |||
4984 | struct cgroup *cgrp = css->cgroup; | 4984 | struct cgroup *cgrp = css->cgroup; |
4985 | 4985 | ||
4986 | rcu_read_lock(); | 4986 | rcu_read_lock(); |
4987 | atomic_dec(&css->refcnt); | 4987 | switch (atomic_dec_return(&css->refcnt)) { |
4988 | switch (css_refcnt(css)) { | ||
4989 | case 1: | 4988 | case 1: |
4990 | if (notify_on_release(cgrp)) { | 4989 | if (notify_on_release(cgrp)) { |
4991 | set_bit(CGRP_RELEASABLE, &cgrp->flags); | 4990 | set_bit(CGRP_RELEASABLE, &cgrp->flags); |