ocfs2: Abstract out a debugging function for underlying dlms.
authorJoel Becker <joel.becker@oracle.com>
Wed, 30 Jan 2008 00:59:55 +0000 (16:59 -0800)
committerMark Fasheh <mfasheh@suse.com>
Fri, 18 Apr 2008 15:56:04 +0000 (08:56 -0700)
commitcf0acdcd640e9466059e69951c557e90b4bee45a
treec54bccbed204770005265176500ae0549d4ca31a
parent1693a5c0117f8ccd010a666f97aaf0f14fb0a0e4
ocfs2: Abstract out a debugging function for underlying dlms.

dlmglue.c was still referencing a raw o2dlm lksb in one instance.  Let's
create a generic ocfs2_dlm_dump_lksb() function.  This allows underlying
DLMs to print whatever they want about their lock.

We then move the o2dlm dump into stackglue.c where it belongs.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/dlmglue.c
fs/ocfs2/stackglue.c
fs/ocfs2/stackglue.h