From: Christoph Hellwig <hch@infradead.org>
To: Lukas Herbolt <lukas@herbolt.com>
Cc: linux-xfs@vger.kernel.org, djwong@kernel.org, cem@kernel.org,
hch@infradead.org
Subject: Re: [PATCH v10] xfs: add FALLOC_FL_WRITE_ZEROES to XFS code base
Date: Wed, 25 Feb 2026 09:52:07 -0800 [thread overview]
Message-ID: <aZ82x5UQWSex4AWU@infradead.org> (raw)
In-Reply-To: <20260225083932.580849-2-lukas@herbolt.com>
> + } else {
> + if (xfs_falloc_force_zero(ip, ac)) {
> + error = xfs_zero_range(ip, offset, len, ac, NULL);
> + goto set_filesize;
> + } else {
No need for an else after a goto.
next prev parent reply other threads:[~2026-02-25 17:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-25 8:39 [PATCH v10] xfs: add FALLOC_FL_WRITE_ZEROES to XFS code base Lukas Herbolt
2026-02-25 17:52 ` Christoph Hellwig [this message]
2026-02-26 14:44 ` Pankaj Raghav (Samsung)
2026-02-26 16:42 ` Brian Foster
2026-02-27 12:05 ` Pankaj Raghav (Samsung)
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=aZ82x5UQWSex4AWU@infradead.org \
--to=hch@infradead.org \
--cc=cem@kernel.org \
--cc=djwong@kernel.org \
--cc=linux-xfs@vger.kernel.org \
--cc=lukas@herbolt.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