From: sashiko-bot@kernel.org
To: "Mark Syms" <mark.syms@citrix.com>,
"Andreas Gruenbacher" <agruenba@redhat.com>
Cc: gfs2@lists.linux.dev, "Christoph Hellwig" <hch@lst.de>
Subject: Re: [PATCH v3 1/2] gfs2: minor punch_hole error path cleanup
Date: Fri, 04 Dec 2026 16:37:10 +0000 [thread overview]
Message-ID: <sashiko-outbox-250204@kernel.org> (raw)
In-Reply-To: <1432c57e0294741f0b71dce7b2e563f317f10c48.1796393524.git.mark.syms@citrix.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] gfs2: missing Fixes tag for punch_hole() error-path bugs
--
commit 48a4cf4d62ea976d62f135901988d8490776dce2
Author: Andreas Gruenbacher <agruenba@redhat.com>
> gfs2: minor punch_hole error path cleanup
>
> When an error is encountered after deallocating some blocks, do not skip
> the statfs and quota update.
>
> The cleanup code already ends any pending transaction; there is no need
> to duplicate that code.
>
> Cc: stable@vger.kernel.org # prerequisite for "gfs2: Revalidate the cached writeback mapping after a punch"
> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
> Signed-off-by: Mark Syms <mark.syms@citrix.com>
[Severity: Low]
This fixes two error-path bugs in punch_hole(): skipping the statfs, quota,
and dinode updates after freeing blocks, and clobbering an earlier error in
ret when gfs2_trans_begin() succeeds. Both were introduced when
trunc_dealloc() (later renamed punch_hole()) was added. Should this include:
Fixes: d552a2b9b33e ("GFS2: Non-recursive delete")
--
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1796393524.git.mark.syms@citrix.com?part=1
next prev parent reply other threads:[~2026-12-04 16:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 14:18 [PATCH] gfs2: Revalidate the cached writeback mapping after a punch Mark Syms
2026-12-02 14:40 ` sashiko-bot
2026-12-02 15:57 ` [PATCH v2] " Mark Syms
2026-12-02 20:54 ` Andreas Gruenbacher
2026-12-04 16:08 ` [PATCH v3 0/2] " Mark Syms
2026-12-04 16:08 ` [PATCH v3 1/2] gfs2: minor punch_hole error path cleanup Mark Syms
2026-12-04 16:37 ` sashiko-bot [this message]
2026-12-04 16:08 ` [PATCH v3 2/2] gfs2: Revalidate the cached writeback mapping after a punch Mark Syms
2026-12-04 17:11 ` sashiko-bot
2026-12-04 16:26 ` [PATCH v3 0/2] " Andreas Gruenbacher
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=sashiko-outbox-250204@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=agruenba@redhat.com \
--cc=gfs2@lists.linux.dev \
--cc=hch@lst.de \
--cc=mark.syms@citrix.com \
--cc=sashiko-reviews@lists.linux.dev \
/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.