aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/cluster/nodemanager.h
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2007-06-19 14:34:03 -0400
committerMark Fasheh <mark.fasheh@oracle.com>2007-07-10 20:19:43 -0400
commit16c6a4f24de2933b26477ad5dfb71f518220d641 (patch)
treedd6e1efd95d00f84a7132b8ada3314bcea730d68 /fs/ocfs2/cluster/nodemanager.h
parent14829422be6d6b6721f61b1e749acf5a9cb664d8 (diff)
ocfs2: live heartbeat depends on the local node configuration
Removing the local node configuration out from underneath a running heartbeat is "bad". Provide an API in the ocfs2 nodemanager to request a configfs dependancy on the local node, then use it in heartbeat. Signed-off-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/cluster/nodemanager.h')
-rw-r--r--fs/ocfs2/cluster/nodemanager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ocfs2/cluster/nodemanager.h b/fs/ocfs2/cluster/nodemanager.h
index 55ae1a00d735..7c860361b8dd 100644
--- a/fs/ocfs2/cluster/nodemanager.h
+++ b/fs/ocfs2/cluster/nodemanager.h
@@ -79,5 +79,7 @@ void o2nm_node_put(struct o2nm_node *node);
79 79
80int o2nm_depend_item(struct config_item *item); 80int o2nm_depend_item(struct config_item *item);
81void o2nm_undepend_item(struct config_item *item); 81void o2nm_undepend_item(struct config_item *item);
82int o2nm_depend_this_node(void);
83void o2nm_undepend_this_node(void);
82 84
83#endif /* O2CLUSTER_NODEMANAGER_H */ 85#endif /* O2CLUSTER_NODEMANAGER_H */