aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTao Ma <boyu.mt@taobao.com>2011-07-11 18:26:01 -0400
committerTheodore Ts'o <tytso@mit.edu>2011-07-11 18:26:01 -0400
commit823ba01fc07751200c43e45733925a98b73eac3a (patch)
treec84853512445f6f56aeb0fcf8f9207222e9c80c0 /tools/perf/scripts/python
parentext4: avoid unneeded ext4_ext_next_leaf_block() while inserting extents (diff)
downloadlinux-dev-823ba01fc07751200c43e45733925a98b73eac3a.tar.xz
linux-dev-823ba01fc07751200c43e45733925a98b73eac3a.zip
ext4: fix a race which could leak memory in ext4_groupinfo_create_slab()
In ext4_groupinfo_create_slab, we create ext4_groupinfo_caches within ext4_grpinfo_slab_create_mutex, but set it outside the lock, and there does exist some case that we may create it twice and causes a memory leak. So set it before we call mutex_unlock. Signed-off-by: Tao Ma <boyu.mt@taobao.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions