summaryrefslogtreecommitdiff
path: root/fs/ocfs2/stackglue.h
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2008-05-31 02:30:49 +0400
committerMark Fasheh <mfasheh@suse.com>2008-06-16 21:46:50 +0400
commit3878f110f71a0971ff7acc15dd6db711b6ef37c6 (patch)
tree39d5e1e8508cab23ba79c5da5abf897ca5843a9b /fs/ocfs2/stackglue.h
parent066519068ad2fbe98c7f45552b1f592903a9c8c8 (diff)
downloadlinux-3878f110f71a0971ff7acc15dd6db711b6ef37c6.tar.xz
ocfs2: Move the hb_ctl_path sysctl into the stack glue.
ocfs2 needs to call out to the hb_ctl program at unmount for all cluster stacks. The first step is to move the hb_ctl_path sysctl out of the o2cb code and into the generic stack glue. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ocfs2/stackglue.h b/fs/ocfs2/stackglue.h
index 005e4f170e0f..c9fb01ab6347 100644
--- a/fs/ocfs2/stackglue.h
+++ b/fs/ocfs2/stackglue.h
@@ -258,4 +258,6 @@ void ocfs2_stack_glue_set_locking_protocol(struct ocfs2_locking_protocol *proto)
/* Used by stack plugins */
int ocfs2_stack_glue_register(struct ocfs2_stack_plugin *plugin);
void ocfs2_stack_glue_unregister(struct ocfs2_stack_plugin *plugin);
+const char *ocfs2_get_hb_ctl_path(void);
+
#endif /* STACKGLUE_H */