summaryrefslogtreecommitdiffstats
path: root/fs/ramfs
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2009-12-30 07:24:03 +0100
committerIngo Molnar <mingo@elte.hu>2009-12-30 07:50:50 +0100
commit53ab668064edaeef99c0ee22799483d45f4c81f6 (patch)
tree1aa92f9e5bbddb61cbc3d5683180dc64abe341fc /fs/ramfs
parentksym_tracer: Fix race when incrementing count (diff)
downloadlinux-53ab668064edaeef99c0ee22799483d45f4c81f6.tar.xz
linux-53ab668064edaeef99c0ee22799483d45f4c81f6.zip
ksym_tracer: Remove trace_stat
trace_stat is problematic. Don't use it, use seqfile instead. This fixes a race that reading the stat file is not protected by any lock, which can lead to use after free. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: K.Prasad <prasad@linux.vnet.ibm.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> LKML-Reference: <4B3AF203.40200@cn.fujitsu.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'fs/ramfs')
0 files changed, 0 insertions, 0 deletions