]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ocfs2: adjust function name reference
authorJulia Lawall <Julia.Lawall@inria.fr>
Tue, 30 Dec 2025 14:25:13 +0000 (15:25 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 27 Jan 2026 03:07:11 +0000 (19:07 -0800)
There is no function dlm_mast_regions().  However, dlm_match_regions() is
passed the buffer "local", which it uses internally, so it seems like
dlm_match_regions() was intended.

Link: https://lkml.kernel.org/r/20251230142513.95467-1-Julia.Lawall@inria.fr
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Acked-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Jun Piao <piaojun@huawei.com>
Cc: Heming Zhao <heming.zhao@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/ocfs2/dlm/dlmdomain.c

index 2347a50f079b7b9502b24df003155eb3120a198b..cf3ca2f597c2f43e2de63deccef514b2fc7ce3d9 100644 (file)
@@ -1105,7 +1105,7 @@ static int dlm_query_region_handler(struct o2net_msg *msg, u32 len,
        mlog(0, "Node %u queries hb regions on domain %s\n", qr->qr_node,
             qr->qr_domain);
 
-       /* buffer used in dlm_mast_regions() */
+       /* buffer used in dlm_match_regions() */
        local = kmalloc(sizeof(qr->qr_regions), GFP_KERNEL);
        if (!local)
                return -ENOMEM;