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

ocfs2: remove commented out mlog() statements

The mlog() statements have been commented out ever since commit
6714d8e86bf44 ("[PATCH] OCFS2: The Second Oracle Cluster Filesystem") -
remove them.

Link: https://lkml.kernel.org/r/20250814113815.219064-1-thorsten.blum@linux.dev
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Mark Tinguely <mark.tinguely@oracle.com>
Reviewed-by: Mark Fasheh <mark@fasheh.com>
Cc: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Cc: Dmitry Antipov <dmantipov@yandex.ru>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Joseph Qi <joseph.qi@linux.alibaba.com>
Cc: Thorsten Blum <thorsten.blum@linux.dev>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Jun Piao <piaojun@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Thorsten Blum and committed by
Andrew Morton
9a0ee378 bc107a61

-12
-11
fs/ocfs2/dlm/dlmmaster.c
··· 1477 1477 goto send_response; 1478 1478 } else if (res->owner != DLM_LOCK_RES_OWNER_UNKNOWN) { 1479 1479 spin_unlock(&res->spinlock); 1480 - // mlog(0, "node %u is the master\n", res->owner); 1481 1480 response = DLM_MASTER_RESP_NO; 1482 1481 if (mle) 1483 1482 kmem_cache_free(dlm_mle_cache, mle); ··· 1492 1493 BUG(); 1493 1494 } 1494 1495 1495 - // mlog(0, "lockres is in progress...\n"); 1496 1496 spin_lock(&dlm->master_lock); 1497 1497 found = dlm_find_mle(dlm, &tmpmle, name, namelen); 1498 1498 if (!found) { ··· 1501 1503 set_maybe = 1; 1502 1504 spin_lock(&tmpmle->spinlock); 1503 1505 if (tmpmle->type == DLM_MLE_BLOCK) { 1504 - // mlog(0, "this node is waiting for " 1505 - // "lockres to be mastered\n"); 1506 1506 response = DLM_MASTER_RESP_NO; 1507 1507 } else if (tmpmle->type == DLM_MLE_MIGRATION) { 1508 1508 mlog(0, "node %u is master, but trying to migrate to " ··· 1527 1531 } else 1528 1532 response = DLM_MASTER_RESP_NO; 1529 1533 } else { 1530 - // mlog(0, "this node is attempting to " 1531 - // "master lockres\n"); 1532 1534 response = DLM_MASTER_RESP_MAYBE; 1533 1535 } 1534 1536 if (set_maybe) ··· 1553 1559 found = dlm_find_mle(dlm, &tmpmle, name, namelen); 1554 1560 if (!found) { 1555 1561 /* this lockid has never been seen on this node yet */ 1556 - // mlog(0, "no mle found\n"); 1557 1562 if (!mle) { 1558 1563 spin_unlock(&dlm->master_lock); 1559 1564 spin_unlock(&dlm->spinlock); ··· 1566 1573 goto way_up_top; 1567 1574 } 1568 1575 1569 - // mlog(0, "this is second time thru, already allocated, " 1570 - // "add the block.\n"); 1571 1576 dlm_init_mle(mle, DLM_MLE_BLOCK, dlm, NULL, name, namelen); 1572 1577 set_bit(request->node_idx, mle->maybe_map); 1573 1578 __dlm_insert_mle(dlm, mle); ··· 1888 1897 spin_unlock(&res->spinlock); 1889 1898 } 1890 1899 1891 - // mlog(0, "woo! got an assert_master from node %u!\n", 1892 - // assert->node_idx); 1893 1900 if (mle) { 1894 1901 int extra_ref = 0; 1895 1902 int nn = -1;
-1
fs/ocfs2/dlm/dlmrecovery.c
··· 464 464 } 465 465 466 466 if (dlm->reco.dead_node == O2NM_INVALID_NODE_NUM) { 467 - // mlog(0, "nothing to recover! sleeping now!\n"); 468 467 spin_unlock(&dlm->spinlock); 469 468 /* return to main thread loop and sleep. */ 470 469 return 0;