diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-11-19 21:24:28 -0500 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2006-12-01 21:26:50 -0500 |
commit | da66116eef7da8557762c9b5efdc435bc0afecfa (patch) | |
tree | 883602ea773aef3e6f2f739c8e2ea84b18074c86 /fs/ocfs2/dlmglue.c | |
parent | 0215ffb08ce99e2bb59eca114a99499a4d06e704 (diff) |
[2.6 patch] make ocfs2_create_new_lock() static
This patch makes the needlessly global ocfs2_create_new_lock() static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/dlmglue.c')
-rw-r--r-- | fs/ocfs2/dlmglue.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ocfs2/dlmglue.c b/fs/ocfs2/dlmglue.c index 8801e41afe80..ff8d3dbdeb31 100644 --- a/fs/ocfs2/dlmglue.c +++ b/fs/ocfs2/dlmglue.c | |||
@@ -1063,10 +1063,10 @@ static void ocfs2_cluster_unlock(struct ocfs2_super *osb, | |||
1063 | mlog_exit_void(); | 1063 | mlog_exit_void(); |
1064 | } | 1064 | } |
1065 | 1065 | ||
1066 | int ocfs2_create_new_lock(struct ocfs2_super *osb, | 1066 | static int ocfs2_create_new_lock(struct ocfs2_super *osb, |
1067 | struct ocfs2_lock_res *lockres, | 1067 | struct ocfs2_lock_res *lockres, |
1068 | int ex, | 1068 | int ex, |
1069 | int local) | 1069 | int local) |
1070 | { | 1070 | { |
1071 | int level = ex ? LKM_EXMODE : LKM_PRMODE; | 1071 | int level = ex ? LKM_EXMODE : LKM_PRMODE; |
1072 | unsigned long flags; | 1072 | unsigned long flags; |