* [PATCH] ocfs2: adjust function name reference
@ 2025-12-30 14:25 Julia Lawall
2026-01-04 1:53 ` Joseph Qi
0 siblings, 1 reply; 2+ messages in thread
From: Julia Lawall @ 2025-12-30 14:25 UTC (permalink / raw)
To: Mark Fasheh
Cc: yunbolyu, kexinsun, ratnadiraw, xutong.ma, Joel Becker,
Joseph Qi, ocfs2-devel, linux-kernel
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.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
fs/ocfs2/dlm/dlmdomain.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/ocfs2/dlm/dlmdomain.c b/fs/ocfs2/dlm/dlmdomain.c
index 2347a50f079b..cf3ca2f597c2 100644
--- a/fs/ocfs2/dlm/dlmdomain.c
+++ b/fs/ocfs2/dlm/dlmdomain.c
@@ -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;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ocfs2: adjust function name reference
2025-12-30 14:25 [PATCH] ocfs2: adjust function name reference Julia Lawall
@ 2026-01-04 1:53 ` Joseph Qi
0 siblings, 0 replies; 2+ messages in thread
From: Joseph Qi @ 2026-01-04 1:53 UTC (permalink / raw)
To: Julia Lawall, Mark Fasheh, akpm
Cc: yunbolyu, kexinsun, ratnadiraw, xutong.ma, Joel Becker,
ocfs2-devel, linux-kernel
On 2025/12/30 22:25, Julia Lawall wrote:
> 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.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Acked-by: Joseph Qi <joseph.qi@linux.alibaba.com>
>
> ---
> fs/ocfs2/dlm/dlmdomain.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/ocfs2/dlm/dlmdomain.c b/fs/ocfs2/dlm/dlmdomain.c
> index 2347a50f079b..cf3ca2f597c2 100644
> --- a/fs/ocfs2/dlm/dlmdomain.c
> +++ b/fs/ocfs2/dlm/dlmdomain.c
> @@ -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;
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-01-04 1:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-30 14:25 [PATCH] ocfs2: adjust function name reference Julia Lawall
2026-01-04 1:53 ` Joseph Qi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®