summaryrefslogtreecommitdiff
path: root/kernel/acct.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2014-05-13 11:28:30 -0400
committerTejun Heo <tj@kernel.org>2014-05-13 11:28:30 -0400
commit36e9d2ebcc15d029b33f42a36146ab5a5bcfcfe7 (patch)
tree8de644b8fb941ee475163b59ad76506a647a9d85 /kernel/acct.c
parente5ced8ebb10c20a3b349bd798b69ccabd3b25d21 (diff)
cgroup: fix rcu_read_lock() leak in update_if_frozen()
While updating cgroup_freezer locking, 68fafb77d827 ("cgroup_freezer: replace freezer->lock with freezer_mutex") introduced a bug in update_if_frozen() where it returns with rcu_read_lock() held. Fix it by adding rcu_read_unlock() before returning. Signed-off-by: Tejun Heo <tj@kernel.org> Reported-by: kbuild test robot <fengguang.wu@intel.com>
Diffstat (limited to 'kernel/acct.c')
0 files changed, 0 insertions, 0 deletions