public inbox for gfs2@lists.linux.dev
 help / color / mirror / Atom feed
From: Alexander Aring <aahringo@redhat.com>
To: teigland@redhat.com
Cc: gfs2@lists.linux.dev, aahringo@redhat.com
Subject: [PATCH v6.12-rc1 1/7] dlm: fix swapped args sb_flags vs sb_status
Date: Fri,  4 Oct 2024 11:13:37 -0400	[thread overview]
Message-ID: <20241004151343.3952937-2-aahringo@redhat.com> (raw)
In-Reply-To: <20241004151343.3952937-1-aahringo@redhat.com>

The arguments got swapped by commit 986ae3c2a8df ("dlm: fix race between
final callback and remove") fixing this now.

Fixes: 986ae3c2a8df ("dlm: fix race between final callback and remove")
Signed-off-by: Alexander Aring <aahringo@redhat.com>
---
 fs/dlm/ast.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/dlm/ast.c b/fs/dlm/ast.c
index 742b30b61c19..0fe8d80ce5e8 100644
--- a/fs/dlm/ast.c
+++ b/fs/dlm/ast.c
@@ -30,7 +30,7 @@ static void dlm_run_callback(uint32_t ls_id, uint32_t lkb_id, int8_t mode,
 		trace_dlm_bast(ls_id, lkb_id, mode, res_name, res_length);
 		bastfn(astparam, mode);
 	} else if (flags & DLM_CB_CAST) {
-		trace_dlm_ast(ls_id, lkb_id, sb_status, sb_flags, res_name,
+		trace_dlm_ast(ls_id, lkb_id, sb_flags, sb_status, res_name,
 			      res_length);
 		lksb->sb_status = sb_status;
 		lksb->sb_flags = sb_flags;
-- 
2.43.0


  reply	other threads:[~2024-10-04 15:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-04 15:13 [PATCH v6.12-rc1 0/7] dlm: tracing, config and null-ptr fixes Alexander Aring
2024-10-04 15:13 ` Alexander Aring [this message]
2024-10-04 15:13 ` [PATCH v6.12-rc1 2/7] dlm: fix possible lkb_resource null dereference Alexander Aring
2024-10-04 15:13 ` [PATCH v6.12-rc1 3/7] dlm: disallow different configs nodeid storages Alexander Aring
2024-10-04 15:13 ` [PATCH v6.12-rc1 4/7] dlm: handle port as __be16 network byte order Alexander Aring
2024-10-04 15:13 ` [PATCH v6.12-rc1 5/7] dlm: use dlm_config as only cluster configuration Alexander Aring
2024-10-04 15:13 ` [PATCH v6.12-rc1 6/7] dlm: dlm_config_info config fields to unsigned int Alexander Aring
2024-10-04 15:13 ` [PATCH v6.12-rc1 7/7] dlm: make add_to_waiters() that it can't fail Alexander Aring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241004151343.3952937-2-aahringo@redhat.com \
    --to=aahringo@redhat.com \
    --cc=gfs2@lists.linux.dev \
    --cc=teigland@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox