aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2
diff options
context:
space:
mode:
authorTao Ma <boyu.mt@taobao.com>2011-02-23 08:17:39 -0500
committerTao Ma <boyu.mt@taobao.com>2011-02-23 08:17:39 -0500
commitb5770f98b00e94dd573e3438427de09733fe2039 (patch)
treec12aea209404fe9845e66c8b93b15daa3aa3466f /fs/ocfs2
parenta8731086eff053b430cddbf5783654dfd700ea06 (diff)
ocfs2: Remove mlog(0) from fs/ocfs2/heartbeat.c
This is the 2nd step to remove the debug info of SUPER. Signed-off-by: Tao Ma <boyu.mt@taobao.com>
Diffstat (limited to 'fs/ocfs2')
-rw-r--r--fs/ocfs2/heartbeat.c4
-rw-r--r--fs/ocfs2/ocfs2_trace.h7
2 files changed, 9 insertions, 2 deletions
diff --git a/fs/ocfs2/heartbeat.c b/fs/ocfs2/heartbeat.c
index 1aa863dd901f..d8208b20dc53 100644
--- a/fs/ocfs2/heartbeat.c
+++ b/fs/ocfs2/heartbeat.c
@@ -28,7 +28,6 @@
28#include <linux/types.h> 28#include <linux/types.h>
29#include <linux/highmem.h> 29#include <linux/highmem.h>
30 30
31#define MLOG_MASK_PREFIX ML_SUPER
32#include <cluster/masklog.h> 31#include <cluster/masklog.h>
33 32
34#include "ocfs2.h" 33#include "ocfs2.h"
@@ -37,6 +36,7 @@
37#include "heartbeat.h" 36#include "heartbeat.h"
38#include "inode.h" 37#include "inode.h"
39#include "journal.h" 38#include "journal.h"
39#include "ocfs2_trace.h"
40 40
41#include "buffer_head_io.h" 41#include "buffer_head_io.h"
42 42
@@ -66,7 +66,7 @@ void ocfs2_do_node_down(int node_num, void *data)
66 66
67 BUG_ON(osb->node_num == node_num); 67 BUG_ON(osb->node_num == node_num);
68 68
69 mlog(0, "ocfs2: node down event for %d\n", node_num); 69 trace_ocfs2_do_node_down(node_num);
70 70
71 if (!osb->cconn) { 71 if (!osb->cconn) {
72 /* 72 /*
diff --git a/fs/ocfs2/ocfs2_trace.h b/fs/ocfs2/ocfs2_trace.h
index d70471f8ad04..876b119d3656 100644
--- a/fs/ocfs2/ocfs2_trace.h
+++ b/fs/ocfs2/ocfs2_trace.h
@@ -1530,6 +1530,13 @@ DEFINE_OCFS2_ULL_UINT_EVENT(ocfs2_map_slot_buffers_block);
1530DEFINE_OCFS2_INT_EVENT(ocfs2_find_slot); 1530DEFINE_OCFS2_INT_EVENT(ocfs2_find_slot);
1531 1531
1532/* End of trace events for fs/ocfs2/slot_map.c. */ 1532/* End of trace events for fs/ocfs2/slot_map.c. */
1533
1534/* Trace events for fs/ocfs2/heartbeat.c. */
1535
1536DEFINE_OCFS2_INT_EVENT(ocfs2_do_node_down);
1537
1538/* End of trace events for fs/ocfs2/heartbeat.c. */
1539
1533#endif /* _TRACE_OCFS2_H */ 1540#endif /* _TRACE_OCFS2_H */
1534 1541
1535/* This part must be outside protection */ 1542/* This part must be outside protection */