Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b31d308d authored by Tao Ma's avatar Tao Ma Committed by Joel Becker
Browse files

ocfs2/trivial: Use proper mask for 2 places in hearbeat.c



I just noticed today that there are 2 places of "mlog(0,...)"
in  fs/ocfs2/cluster/heartbeat.c, but actually have no default
mask prefix in that file.
So change them to mlog(ML_HEARTBEAT,...).

Signed-off-by: default avatarTao Ma <tao.ma@oracle.com>
Signed-off-by: default avatarJoel Becker <joel.becker@oracle.com>
parent 86239d59
Loading
Loading
Loading
Loading
+4 −2
Original line number Original line Diff line number Diff line
@@ -176,7 +176,8 @@ static void o2hb_write_timeout(struct work_struct *work)


static void o2hb_arm_write_timeout(struct o2hb_region *reg)
static void o2hb_arm_write_timeout(struct o2hb_region *reg)
{
{
	mlog(0, "Queue write timeout for %u ms\n", O2HB_MAX_WRITE_TIMEOUT_MS);
	mlog(ML_HEARTBEAT, "Queue write timeout for %u ms\n",
	     O2HB_MAX_WRITE_TIMEOUT_MS);


	cancel_delayed_work(&reg->hr_write_timeout_work);
	cancel_delayed_work(&reg->hr_write_timeout_work);
	reg->hr_last_timeout_start = jiffies;
	reg->hr_last_timeout_start = jiffies;
@@ -874,7 +875,8 @@ static int o2hb_thread(void *data)
		do_gettimeofday(&after_hb);
		do_gettimeofday(&after_hb);
		elapsed_msec = o2hb_elapsed_msecs(&before_hb, &after_hb);
		elapsed_msec = o2hb_elapsed_msecs(&before_hb, &after_hb);


		mlog(0, "start = %lu.%lu, end = %lu.%lu, msec = %u\n",
		mlog(ML_HEARTBEAT,
		     "start = %lu.%lu, end = %lu.%lu, msec = %u\n",
		     before_hb.tv_sec, (unsigned long) before_hb.tv_usec,
		     before_hb.tv_sec, (unsigned long) before_hb.tv_usec,
		     after_hb.tv_sec, (unsigned long) after_hb.tv_usec,
		     after_hb.tv_sec, (unsigned long) after_hb.tv_usec,
		     elapsed_msec);
		     elapsed_msec);