diff options
author | Joel Becker <joel.becker@oracle.com> | 2008-01-29 19:59:55 -0500 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-04-18 11:56:04 -0400 |
commit | cf0acdcd640e9466059e69951c557e90b4bee45a (patch) | |
tree | c54bccbed204770005265176500ae0549d4ca31a /fs/ocfs2/stackglue.h | |
parent | 1693a5c0117f8ccd010a666f97aaf0f14fb0a0e4 (diff) |
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>
Diffstat (limited to 'fs/ocfs2/stackglue.h')
-rw-r--r-- | fs/ocfs2/stackglue.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ocfs2/stackglue.h b/fs/ocfs2/stackglue.h index 22af77b9a690..01e3c9b9192a 100644 --- a/fs/ocfs2/stackglue.h +++ b/fs/ocfs2/stackglue.h | |||
@@ -91,6 +91,7 @@ int ocfs2_dlm_unlock(struct ocfs2_cluster_connection *conn, | |||
91 | 91 | ||
92 | int ocfs2_dlm_lock_status(union ocfs2_dlm_lksb *lksb); | 92 | int ocfs2_dlm_lock_status(union ocfs2_dlm_lksb *lksb); |
93 | void *ocfs2_dlm_lvb(union ocfs2_dlm_lksb *lksb); | 93 | void *ocfs2_dlm_lvb(union ocfs2_dlm_lksb *lksb); |
94 | void ocfs2_dlm_dump_lksb(union ocfs2_dlm_lksb *lksb); | ||
94 | 95 | ||
95 | void o2cb_get_stack(struct ocfs2_locking_protocol *proto); | 96 | void o2cb_get_stack(struct ocfs2_locking_protocol *proto); |
96 | void o2cb_put_stack(void); | 97 | void o2cb_put_stack(void); |