diff options
author | George Beshers <gbeshers@sgi.com> | 2015-06-18 10:25:13 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-06-19 09:48:03 +0200 |
commit | 68722101ec3a0e179408a13708dd020e04f54aab (patch) | |
tree | 89848779d52fae9f755787774d37e2d7b1a8a936 /fs/ceph/inode.c | |
parent | 405963b6a57c60040bc1dad2597f7f4b897954d1 (diff) | |
download | op-kernel-dev-68722101ec3a0e179408a13708dd020e04f54aab.zip op-kernel-dev-68722101ec3a0e179408a13708dd020e04f54aab.tar.gz |
locking/lockdep: Remove hard coded array size dependency
An apparent oversight left a hardcoded '4' in place when
LOCKSTAT_POINTS was introduced.
The contention_point[] and contending_point[] arrays in the
structs lock_class and lock_class_stats need to be the same
size for the loops in lock_stats() to be correct.
This patch allows LOCKSTAT_POINTS to be changed without
affecting the correctness of the code.
Signed-off-by: George Beshers <gbeshers@sgi.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs/ceph/inode.c')
0 files changed, 0 insertions, 0 deletions