]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: Use dlm_print_one_lock_resource for lock resource print
authorTao Ma <tao.ma@oracle.com>
Thu, 28 Feb 2008 02:41:55 +0000 (10:41 +0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Mon, 10 Mar 2008 22:13:50 +0000 (15:13 -0700)
commitfc3352b17b77f69125963234cbf4827484cd155c
treef4d2497ee6a4b40f312f564ced81399f235d8fd3
parente494052f2af77d9291bacbec2afda5950b8d7ea0
ocfs2: Use dlm_print_one_lock_resource for lock resource print

__dlm_print_one_lock_resource must be called with spin_lock
the res->spinlock. While in some cases, we use it without this
precondition and lead to the failure of assert_spin_locked.
So call dlm_print_one_lock_resource instead.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/dlm/dlmconvert.c
fs/ocfs2/dlm/dlmmaster.c
fs/ocfs2/dlm/dlmrecovery.c