aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorSalman Qazi <[email protected]>2012-06-14 21:55:30 +0000
committerTejun Heo <[email protected]>2012-06-18 22:38:02 +0000
commit8e3bbf42c6d73881956863cc3305456afe2bc4ea (patch)
treebb3369e7444a2efe8e890ddd341e576e3cba18c1 /fs/jbd2/commit.c
parentcgroup: make sure that decisions in __css_put are atomic (diff)
downloadkernel-8e3bbf42c6d73881956863cc3305456afe2bc4ea.tar.gz
kernel-8e3bbf42c6d73881956863cc3305456afe2bc4ea.zip
cgroups: Account for CSS_DEACT_BIAS in __css_put
When we fixed the race between atomic_dec and css_refcnt, we missed the fact that css_refcnt internally subtracts CSS_DEACT_BIAS to get the actual reference count. This can potentially cause a refcount leak if __css_put races with cgroup_clear_css_refs. Signed-off-by: Salman Qazi <[email protected]> Acked-by: Li Zefan <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions