diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-12-13 18:17:32 -0500 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2007-02-07 14:53:31 -0500 |
commit | faf0ec9f13defb57f4269ecb22ed86f2874ee89a (patch) | |
tree | 6bb4f4f39f4f5333aa56b03c727d1a3f2cd4da42 /fs/ocfs2/dlm/dlmcommon.h | |
parent | ba2bf2185121db74e075c703fbf986761733dd1d (diff) |
[PATCH] fs/ocfs2/dlm/: make functions static
This patch makes some needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/dlm/dlmcommon.h')
-rw-r--r-- | fs/ocfs2/dlm/dlmcommon.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/ocfs2/dlm/dlmcommon.h b/fs/ocfs2/dlm/dlmcommon.h index 9fa427119a3c..04048bb1a1bd 100644 --- a/fs/ocfs2/dlm/dlmcommon.h +++ b/fs/ocfs2/dlm/dlmcommon.h | |||
@@ -739,8 +739,6 @@ void __dlm_lockres_calc_usage(struct dlm_ctxt *dlm, | |||
739 | struct dlm_lock_resource *res); | 739 | struct dlm_lock_resource *res); |
740 | void dlm_lockres_calc_usage(struct dlm_ctxt *dlm, | 740 | void dlm_lockres_calc_usage(struct dlm_ctxt *dlm, |
741 | struct dlm_lock_resource *res); | 741 | struct dlm_lock_resource *res); |
742 | int dlm_purge_lockres(struct dlm_ctxt *dlm, | ||
743 | struct dlm_lock_resource *lockres); | ||
744 | static inline void dlm_lockres_get(struct dlm_lock_resource *res) | 742 | static inline void dlm_lockres_get(struct dlm_lock_resource *res) |
745 | { | 743 | { |
746 | /* This is called on every lookup, so it might be worth | 744 | /* This is called on every lookup, so it might be worth |
@@ -864,10 +862,6 @@ int dlm_heartbeat_init(struct dlm_ctxt *dlm); | |||
864 | void dlm_hb_node_down_cb(struct o2nm_node *node, int idx, void *data); | 862 | void dlm_hb_node_down_cb(struct o2nm_node *node, int idx, void *data); |
865 | void dlm_hb_node_up_cb(struct o2nm_node *node, int idx, void *data); | 863 | void dlm_hb_node_up_cb(struct o2nm_node *node, int idx, void *data); |
866 | 864 | ||
867 | int dlm_lockres_is_dirty(struct dlm_ctxt *dlm, struct dlm_lock_resource *res); | ||
868 | int dlm_migrate_lockres(struct dlm_ctxt *dlm, | ||
869 | struct dlm_lock_resource *res, | ||
870 | u8 target); | ||
871 | int dlm_empty_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res); | 865 | int dlm_empty_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res); |
872 | int dlm_finish_migration(struct dlm_ctxt *dlm, | 866 | int dlm_finish_migration(struct dlm_ctxt *dlm, |
873 | struct dlm_lock_resource *res, | 867 | struct dlm_lock_resource *res, |