From: Li Zefan Date: Wed, 24 Jun 2009 01:53:26 +0000 (+0800) Subject: trace_stat: Don't increment @pos in seq start() X-Git-Tag: v2.6.31-rc2~78^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2961bf345fd1b736c3db46cad0f69855f67fbe9c;p=pandora-kernel.git trace_stat: Don't increment @pos in seq start() It's wrong to increment @pos in stat_seq_start(). It causes some stat entries lost when reading stat file, if the output of the file is larger than PAGE_SIZE. Reviewed-by: Liming Wang Signed-off-by: Li Zefan Cc: Steven Rostedt Cc: Frederic Weisbecker LKML-Reference: <4A418716.90209@cn.fujitsu.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed