Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

Tao Ma b5770f98 a8731086

+9 -2
+2 -2
fs/ocfs2/heartbeat.c
··· 28 28 #include <linux/types.h> 29 29 #include <linux/highmem.h> 30 30 31 - #define MLOG_MASK_PREFIX ML_SUPER 32 31 #include <cluster/masklog.h> 33 32 34 33 #include "ocfs2.h" ··· 36 37 #include "heartbeat.h" 37 38 #include "inode.h" 38 39 #include "journal.h" 40 + #include "ocfs2_trace.h" 39 41 40 42 #include "buffer_head_io.h" 41 43 ··· 66 66 67 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 71 if (!osb->cconn) { 72 72 /*
+7
fs/ocfs2/ocfs2_trace.h
··· 1530 1530 DEFINE_OCFS2_INT_EVENT(ocfs2_find_slot); 1531 1531 1532 1532 /* End of trace events for fs/ocfs2/slot_map.c. */ 1533 + 1534 + /* Trace events for fs/ocfs2/heartbeat.c. */ 1535 + 1536 + DEFINE_OCFS2_INT_EVENT(ocfs2_do_node_down); 1537 + 1538 + /* End of trace events for fs/ocfs2/heartbeat.c. */ 1539 + 1533 1540 #endif /* _TRACE_OCFS2_H */ 1534 1541 1535 1542 /* This part must be outside protection */