From: Alexander Aring <aahringo@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH] dlm_controld: set posix_lock flags to zero
Date: Tue, 21 Mar 2023 09:17:34 -0400 [thread overview]
Message-ID: <20230321131734.2113556-1-aahringo@redhat.com> (raw)
This patch sets another flags variable to zero which is a leftover of
commit 0834ed4b ("dlm_controld: initialize waiter->flags").
---
dlm_controld/plock.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlm_controld/plock.c b/dlm_controld/plock.c
index ad9b0f27..7f632888 100644
--- a/dlm_controld/plock.c
+++ b/dlm_controld/plock.c
@@ -1956,6 +1956,7 @@ void receive_plocks_data(struct lockspace *ls, struct dlm_header *hd, int len)
po->pid = le32_to_cpu(pp->pid);
po->nodeid = le32_to_cpu(pp->nodeid);
po->ex = pp->ex;
+ po->flags = 0;
list_add_tail(&po->list, &r->locks);
} else {
w = malloc(sizeof(struct lock_waiter));
--
2.31.1
next reply other threads:[~2023-03-21 13:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-21 13:17 Alexander Aring [this message]
2023-03-21 13:33 ` [Cluster-devel] [PATCH] dlm_controld: set posix_lock flags to zero Andreas Gruenbacher
2023-03-21 13:47 ` 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=20230321131734.2113556-1-aahringo@redhat.com \
--to=aahringo@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).