lockdep: minor fix for debug_show_all_locks()
authorqinghuang feng <qhfeng.kernel@gmail.com>
Tue, 28 Oct 2008 09:24:28 +0000 (17:24 +0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 28 Oct 2008 09:30:04 +0000 (10:30 +0100)
commit46fec7ac40e452a2ea5e63648d98b6bb2b5898f9
treeacde64c08983ff2421c33144c0ce1215218fde9f
parent03967c5267b0e7312d1d55dc814d94cf190ca573
lockdep: minor fix for debug_show_all_locks()

When we failed to get tasklist_lock eventually (count equals 0),
we should only print " ignoring it.\n", and not print
" locked it.\n" needlessly.

Signed-off-by: Qinghuang Feng <qhfeng.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/lockdep.c