]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1b4755c09dc654579a6934a123e7088058db9339
treeacde64c08983ff2421c33144c0ce1215218fde9f
parentdb9b066bc5926437855c9e222303ff6ff0e68a86
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