From nobody Sat Oct 4 17:29:44 2025 Received: from out-188.mta1.migadu.com (out-188.mta1.migadu.com [95.215.58.188]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0739D3A1D2 for ; Wed, 13 Aug 2025 18:07:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.188 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755108441; cv=none; b=ZpsR8iEZjnrrfMciFDaGNVj5jTejyYuuZO+KNpYo3VcypXO77YuoC3F5cc9OYF6eOyUjskB+Ai9dd0eHWCdARuGzsEJiCj+S0MfyzLcZh8O53jkBdijpzY4/Bp3O470x2Ose7Voc3rRRKQxVCC2L972kXU2xy4egP25VtGHZ4xs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755108441; c=relaxed/simple; bh=HfcGolfkFJMZjdqIUoPopkVtOqDdwcM7w81IDDcJQxI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=c991tAYpiQyh6VbdrfkSCRJrkrYrDvxtxmmT/4VLBC4tnWkzGf2bdWTdRT6gB9mMOpP/x7GZBrYPlk/qgYcEwZ0y5JttwIWgB69R8BWR6yKBiA69kfPnkZ75Bl1fIXFn07Sy+e2zbwPQLkOw0CsvsvDsk0NbId+qN/rtDdsoXII= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=mpGX/o2I; arc=none smtp.client-ip=95.215.58.188 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="mpGX/o2I" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1755108434; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=mZBQ0Uqep9wyuNlF72Lp7pmuoTgyNsomwyrLmYN62cg=; b=mpGX/o2IpGvpKMKdAwbxBfpRluhXzjCH5fUpaaclA72LRD+BYtshdmib34slqv9Bm6LGEE Jlw6QWJJPcQc337wR+zrCHssQVSBe5NOXM8PHKgxpT2HYnvrPatc6+Laawz2Qk2tR3/yda ClACt7aMN1pXtFVlAAoGCFOK6inPzXo= From: Thorsten Blum To: Mark Fasheh , Joel Becker , Joseph Qi , Andrew Morton , Thorsten Blum Cc: ocfs2-devel@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH] ocfs2: Remove commented out mlog() statements Date: Wed, 13 Aug 2025 20:06:21 +0200 Message-ID: <20250813180622.209305-3-thorsten.blum@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" The mlog() statements have been commented out ever since commit 6714d8e86bf44 ("[PATCH] OCFS2: The Second Oracle Cluster Filesystem") - remove them. Signed-off-by: Thorsten Blum --- fs/ocfs2/dlm/dlmmaster.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/fs/ocfs2/dlm/dlmmaster.c b/fs/ocfs2/dlm/dlmmaster.c index 86bb1a03bcc1..4145e06d2c08 100644 --- a/fs/ocfs2/dlm/dlmmaster.c +++ b/fs/ocfs2/dlm/dlmmaster.c @@ -1477,7 +1477,6 @@ int dlm_master_request_handler(struct o2net_msg *msg,= u32 len, void *data, goto send_response; } else if (res->owner !=3D DLM_LOCK_RES_OWNER_UNKNOWN) { spin_unlock(&res->spinlock); - // mlog(0, "node %u is the master\n", res->owner); response =3D DLM_MASTER_RESP_NO; if (mle) kmem_cache_free(dlm_mle_cache, mle); @@ -1493,7 +1492,6 @@ int dlm_master_request_handler(struct o2net_msg *msg,= u32 len, void *data, BUG(); } =20 - // mlog(0, "lockres is in progress...\n"); spin_lock(&dlm->master_lock); found =3D dlm_find_mle(dlm, &tmpmle, name, namelen); if (!found) { @@ -1503,8 +1501,6 @@ int dlm_master_request_handler(struct o2net_msg *msg,= u32 len, void *data, set_maybe =3D 1; spin_lock(&tmpmle->spinlock); if (tmpmle->type =3D=3D DLM_MLE_BLOCK) { - // mlog(0, "this node is waiting for " - // "lockres to be mastered\n"); response =3D DLM_MASTER_RESP_NO; } else if (tmpmle->type =3D=3D DLM_MLE_MIGRATION) { mlog(0, "node %u is master, but trying to migrate to " @@ -1531,8 +1527,6 @@ int dlm_master_request_handler(struct o2net_msg *msg,= u32 len, void *data, } else response =3D DLM_MASTER_RESP_NO; } else { - // mlog(0, "this node is attempting to " - // "master lockres\n"); response =3D DLM_MASTER_RESP_MAYBE; } if (set_maybe) @@ -1559,7 +1553,6 @@ int dlm_master_request_handler(struct o2net_msg *msg,= u32 len, void *data, found =3D dlm_find_mle(dlm, &tmpmle, name, namelen); if (!found) { /* this lockid has never been seen on this node yet */ - // mlog(0, "no mle found\n"); if (!mle) { spin_unlock(&dlm->master_lock); spin_unlock(&dlm->spinlock); @@ -1573,8 +1566,6 @@ int dlm_master_request_handler(struct o2net_msg *msg,= u32 len, void *data, goto way_up_top; } =20 - // mlog(0, "this is second time thru, already allocated, " - // "add the block.\n"); dlm_init_mle(mle, DLM_MLE_BLOCK, dlm, NULL, name, namelen); set_bit(request->node_idx, mle->maybe_map); __dlm_insert_mle(dlm, mle); @@ -1897,8 +1888,6 @@ int dlm_assert_master_handler(struct o2net_msg *msg, = u32 len, void *data, spin_unlock(&res->spinlock); } =20 - // mlog(0, "woo! got an assert_master from node %u!\n", - // assert->node_idx); if (mle) { int extra_ref =3D 0; int nn =3D -1; --=20 2.50.1