From: sashiko-bot@kernel.org
To: "Andreas Gruenbacher" <agruenba@redhat.com>, gfs2@lists.linux.dev
Subject: Re: [PATCH] gfs2: free page leak on gfs2_write_log_header error path
Date: Thu, 26 Nov 2026 23:04:39 +0000 [thread overview]
Message-ID: <sashiko-outbox-236317@kernel.org> (raw)
In-Reply-To: <20261126230030.3056456-1-agruenba@redhat.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] gfs2: missing Fixes: trailer for page leak in
gfs2_write_log_header()
--
commit daec8ff403c20a1a32badf6f30c628a4eef91de4
Author: Andreas Gruenbacher <agruenba@redhat.com>
> gfs2: free page leak on gfs2_write_log_header error path
>
> When gfs2_get_extent() fails, gfs2_write_log_header() needs to free the
> page it has just allocated.
>
> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
[Severity: Low]
This fixes a page leak on the early return in gfs2_write_log_header()
introduced by 7c70b896951c ("gfs2: clean_journal improperly set
sd_log_flush_head"). Should this include a Fixes: tag?
Fixes: 7c70b896951c ("gfs2: clean_journal improperly set sd_log_flush_head")
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261126230030.3056456-1-agruenba@redhat.com?part=1
prev parent reply other threads:[~2026-11-26 23:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 23:00 [PATCH] gfs2: free page leak on gfs2_write_log_header error path Andreas Gruenbacher
2026-11-26 23:04 ` sashiko-bot [this message]
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-236317@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=agruenba@redhat.com \
--cc=gfs2@lists.linux.dev \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox