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/dlmmaster.c | |
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/dlmmaster.c')
-rw-r--r-- | fs/ocfs2/dlm/dlmmaster.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/fs/ocfs2/dlm/dlmmaster.c b/fs/ocfs2/dlm/dlmmaster.c index 4645ec2e0fc3..251c48028ea3 100644 --- a/fs/ocfs2/dlm/dlmmaster.c +++ b/fs/ocfs2/dlm/dlmmaster.c | |||
@@ -2327,8 +2327,9 @@ done: | |||
2327 | */ | 2327 | */ |
2328 | 2328 | ||
2329 | 2329 | ||
2330 | int dlm_migrate_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, | 2330 | static int dlm_migrate_lockres(struct dlm_ctxt *dlm, |
2331 | u8 target) | 2331 | struct dlm_lock_resource *res, |
2332 | u8 target) | ||
2332 | { | 2333 | { |
2333 | struct dlm_master_list_entry *mle = NULL; | 2334 | struct dlm_master_list_entry *mle = NULL; |
2334 | struct dlm_master_list_entry *oldmle = NULL; | 2335 | struct dlm_master_list_entry *oldmle = NULL; |
@@ -2676,7 +2677,8 @@ static int dlm_migration_can_proceed(struct dlm_ctxt *dlm, | |||
2676 | return can_proceed; | 2677 | return can_proceed; |
2677 | } | 2678 | } |
2678 | 2679 | ||
2679 | int dlm_lockres_is_dirty(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) | 2680 | static int dlm_lockres_is_dirty(struct dlm_ctxt *dlm, |
2681 | struct dlm_lock_resource *res) | ||
2680 | { | 2682 | { |
2681 | int ret; | 2683 | int ret; |
2682 | spin_lock(&res->spinlock); | 2684 | spin_lock(&res->spinlock); |