From: Zach Brown <zab@zabbo.net>
To: Valerie Aurora <val@versity.com>
Cc: rpdfs-devel@lists.linux.dev
Subject: Re: [PATCH 2/3] rpdfs: Initialize block seqlock before using it and fix memleak
Date: Wed, 25 Mar 2026 15:08:42 -0700 [thread overview]
Message-ID: <20260325220842.GE990991@localhost.localdomain> (raw)
In-Reply-To: <20260319093727.15343-3-val@versity.com>
On Thu, Mar 19, 2026 at 10:37:26AM +0100, Valerie Aurora wrote:
> alloc_data_page() was using bk->seqlock before it was
> initialized. Move the lock initializations to before the
> alloc_data_page() call and free the block struct if it fails.
>
> Signed-off-by: Valerie Aurora <val@versity.com>
Applied, thanks!
- z
(donning my favourite brown paper bag over here)
next prev parent reply other threads:[~2026-03-25 22:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-19 9:37 [PATCH 0/3] Minor locking fixes and debug output Valerie Aurora
2026-03-19 9:37 ` [PATCH 1/3] rpdfs: Use write_seqlock_bh() for balloc info Valerie Aurora
2026-03-25 22:05 ` Zach Brown
2026-03-19 9:37 ` [PATCH 2/3] rpdfs: Initialize block seqlock before using it and fix memleak Valerie Aurora
2026-03-25 22:08 ` Zach Brown [this message]
2026-03-19 9:37 ` [PATCH 3/3] rpdfs: Add debugging for block not found case in rpdfs_use_txn_prepared Valerie Aurora
2026-03-25 22:09 ` Zach Brown
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=20260325220842.GE990991@localhost.localdomain \
--to=zab@zabbo.net \
--cc=rpdfs-devel@lists.linux.dev \
--cc=val@versity.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.