From: Li Zefan Date: Mon, 17 Aug 2009 05:39:33 +0000 (+0800) Subject: lockdep: Fix missing entry in /proc/lock_stat X-Git-Tag: v2.6.32-rc1~726^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=212274347fc4d2a7c56bf6c953b02c809e7e0be1;p=pandora-kernel.git lockdep: Fix missing entry in /proc/lock_stat One entry is missing in the output of /proc/lock_stat. The cause is, when ls_start() is called the 2nd time, we should start from stats[@pos-1] but not stats[@pos], because pos == 0 is the header. Signed-off-by: Li Zefan Cc: Peter Zijlstra LKML-Reference: <4A88ED15.20800@cn.fujitsu.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed