diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-12-19 14:16:07 -0500 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2006-01-03 14:45:55 -0500 |
commit | 82353b594c784deabb8d9764b477e65c2b3726f9 (patch) | |
tree | 9182f0ac8aeca6ab49953da7c346a74d5853bd94 /fs/ocfs2/dlm/dlmmaster.c | |
parent | b4e40a51881931bfcbc78a585e875bb2784d6d10 (diff) |
[PATCH] This patch contains the following cleanups:
- cluster/sys.c: make needlessly global code static
- dlm/: "extern" declarations for variables belong into header files
(and in this case, they are already in dlmdomain.h)
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 | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/ocfs2/dlm/dlmmaster.c b/fs/ocfs2/dlm/dlmmaster.c index 047279546b4f..27e984f7e4cd 100644 --- a/fs/ocfs2/dlm/dlmmaster.c +++ b/fs/ocfs2/dlm/dlmmaster.c | |||
@@ -48,6 +48,7 @@ | |||
48 | #include "dlmapi.h" | 48 | #include "dlmapi.h" |
49 | #include "dlmcommon.h" | 49 | #include "dlmcommon.h" |
50 | #include "dlmdebug.h" | 50 | #include "dlmdebug.h" |
51 | #include "dlmdomain.h" | ||
51 | 52 | ||
52 | #define MLOG_MASK_PREFIX (ML_DLM|ML_DLM_MASTER) | 53 | #define MLOG_MASK_PREFIX (ML_DLM|ML_DLM_MASTER) |
53 | #include "cluster/masklog.h" | 54 | #include "cluster/masklog.h" |
@@ -178,9 +179,6 @@ static void dlm_dump_mles(struct dlm_ctxt *dlm) | |||
178 | spin_unlock(&dlm->master_lock); | 179 | spin_unlock(&dlm->master_lock); |
179 | } | 180 | } |
180 | 181 | ||
181 | extern spinlock_t dlm_domain_lock; | ||
182 | extern struct list_head dlm_domains; | ||
183 | |||
184 | int dlm_dump_all_mles(const char __user *data, unsigned int len) | 182 | int dlm_dump_all_mles(const char __user *data, unsigned int len) |
185 | { | 183 | { |
186 | struct list_head *iter; | 184 | struct list_head *iter; |