From: Daniel Vacek <neelx@suse.com>
To: Chris Mason <clm@fb.com>, Josef Bacik <josef@toxicpanda.com>,
David Sterba <dsterba@suse.com>, Nick Terrell <terrelln@fb.com>
Cc: linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org,
Daniel Vacek <neelx@suse.com>
Subject: [PATCH v3 0/2] btrfs: harden parsing of compress mount options
Date: Mon, 2 Jun 2025 17:53:17 +0200 [thread overview]
Message-ID: <20250602155320.1854888-1-neelx@suse.com> (raw)
This series hardens the compress mount option parsing.
---
v3 changes: Split into two patches to ease backporting,
no functional changes.
v2: Drop useless check for comma and split compress options
into a separate helper function
Daniel Vacek (2):
btrfs: factor out compress mount options parsing
btrfs: harden parsing of compress mount options
fs/btrfs/super.c | 112 ++++++++++++++++++++++++++++-------------------
1 file changed, 66 insertions(+), 46 deletions(-)
--
2.47.2
next reply other threads:[~2025-06-02 15:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-02 15:53 Daniel Vacek [this message]
2025-06-02 15:53 ` [PATCH v3 1/2] btrfs: factor out compress mount options parsing Daniel Vacek
2025-06-02 17:28 ` David Sterba
2025-06-02 15:53 ` [PATCH v3 2/2] btrfs: harden parsing of compress mount options Daniel Vacek
2025-06-02 17:29 ` David Sterba
2025-06-12 13:29 ` Daniel Vacek
2025-06-12 15:18 ` David Sterba
2025-06-02 17:28 ` [PATCH v3 0/2] " David Sterba
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=20250602155320.1854888-1-neelx@suse.com \
--to=neelx@suse.com \
--cc=clm@fb.com \
--cc=dsterba@suse.com \
--cc=josef@toxicpanda.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=terrelln@fb.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
all inboxes | Powered by JetHome®