git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git]
/
fs
/
ocfs2
/
dlm
/
dlmdebug.c
diff --git
a/fs/ocfs2/dlm/dlmdebug.c
b/fs/ocfs2/dlm/dlmdebug.c
index
3f6c8d8
..
c7eae5d
100644
(file)
--- a/
fs/ocfs2/dlm/dlmdebug.c
+++ b/
fs/ocfs2/dlm/dlmdebug.c
@@
-37,8
+37,10
@@
#include "dlmapi.h"
#include "dlmcommon.h"
#include "dlmapi.h"
#include "dlmcommon.h"
+#include "dlmdebug.h"
#include "dlmdomain.h"
#include "dlmdomain.h"
+#include "dlmdebug.h"
#define MLOG_MASK_PREFIX ML_DLM
#include "cluster/masklog.h"
#define MLOG_MASK_PREFIX ML_DLM
#include "cluster/masklog.h"
@@
-118,7
+120,6
@@
void dlm_print_one_lock(struct dlm_lock *lockid)
}
EXPORT_SYMBOL_GPL(dlm_print_one_lock);
}
EXPORT_SYMBOL_GPL(dlm_print_one_lock);
-#if 0
void dlm_dump_lock_resources(struct dlm_ctxt *dlm)
{
struct dlm_lock_resource *res;
void dlm_dump_lock_resources(struct dlm_ctxt *dlm)
{
struct dlm_lock_resource *res;
@@
-135,13
+136,12
@@
void dlm_dump_lock_resources(struct dlm_ctxt *dlm)
spin_lock(&dlm->spinlock);
for (i=0; i<DLM_HASH_BUCKETS; i++) {
spin_lock(&dlm->spinlock);
for (i=0; i<DLM_HASH_BUCKETS; i++) {
- bucket =
dlm_lockres_hash(dlm, i
);
+ bucket =
&(dlm->lockres_hash[i]
);
hlist_for_each_entry(res, iter, bucket, hash_node)
dlm_print_one_lock_resource(res);
}
spin_unlock(&dlm->spinlock);
}
hlist_for_each_entry(res, iter, bucket, hash_node)
dlm_print_one_lock_resource(res);
}
spin_unlock(&dlm->spinlock);
}
-#endif /* 0 */
static const char *dlm_errnames[] = {
[DLM_NORMAL] = "DLM_NORMAL",
static const char *dlm_errnames[] = {
[DLM_NORMAL] = "DLM_NORMAL",