summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlmglue.h
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2008-01-30 02:37:32 +0100
committerMark Fasheh <mfasheh@suse.com>2008-04-18 17:56:03 +0200
commit24ef1815e5e13e50196eb1ab8ddc0d783443bdf8 (patch)
tree4c44e87b1a80d4745416c9973258c40db8433829 /fs/ocfs2/dlmglue.h
parentocfs2: New slot map format (diff)
downloadlinux-24ef1815e5e13e50196eb1ab8ddc0d783443bdf8.tar.xz
linux-24ef1815e5e13e50196eb1ab8ddc0d783443bdf8.zip
ocfs2: Separate out dlm lock functions.
This is the first in a series of patches to isolate ocfs2 from the underlying cluster stack. Here we wrap the dlm locking functions with ocfs2-specific calls. Because ocfs2 always uses the same dlm lock status callbacks, we can eliminate the callbacks from the filesystem visible functions. Signed-off-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/ocfs2/dlmglue.h')
-rw-r--r--fs/ocfs2/dlmglue.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ocfs2/dlmglue.h b/fs/ocfs2/dlmglue.h
index e3cf902404b4..32380439401f 100644
--- a/fs/ocfs2/dlmglue.h
+++ b/fs/ocfs2/dlmglue.h
@@ -114,5 +114,8 @@ void ocfs2_wake_downconvert_thread(struct ocfs2_super *osb);
struct ocfs2_dlm_debug *ocfs2_new_dlm_debug(void);
void ocfs2_put_dlm_debug(struct ocfs2_dlm_debug *dlm_debug);
+void dlmglue_init_stack(void);
+void dlmglue_exit_stack(void);
+
extern const struct dlm_protocol_version ocfs2_locking_protocol;
#endif /* DLMGLUE_H */