aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlm/dlmthread.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-12-13 18:17:32 -0500
committerMark Fasheh <mark.fasheh@oracle.com>2007-02-07 14:53:31 -0500
commitfaf0ec9f13defb57f4269ecb22ed86f2874ee89a (patch)
tree6bb4f4f39f4f5333aa56b03c727d1a3f2cd4da42 /fs/ocfs2/dlm/dlmthread.c
parentba2bf2185121db74e075c703fbf986761733dd1d (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/dlmthread.c')
-rw-r--r--fs/ocfs2/dlm/dlmthread.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ocfs2/dlm/dlmthread.c b/fs/ocfs2/dlm/dlmthread.c
index 620eb824ce1..baa99979904 100644
--- a/fs/ocfs2/dlm/dlmthread.c
+++ b/fs/ocfs2/dlm/dlmthread.c
@@ -154,7 +154,8 @@ void dlm_lockres_calc_usage(struct dlm_ctxt *dlm,
154 spin_unlock(&dlm->spinlock); 154 spin_unlock(&dlm->spinlock);
155} 155}
156 156
157int dlm_purge_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) 157static int dlm_purge_lockres(struct dlm_ctxt *dlm,
158 struct dlm_lock_resource *res)
158{ 159{
159 int master; 160 int master;
160 int ret = 0; 161 int ret = 0;