Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: stable@vger.kernel.org
Cc: Sasha Levin <sashal@kernel.org>,
	Zhiyuan Zhang <zhiyuanzhang912@gmail.com>
Subject: Re: [PATCH 6.6.y] ocfs2: fix kernel BUG in ocfs2_page_mkwrite() when write_end fails
Date: Fri,  4 Dec 2026 14:49:52 -0500	[thread overview]
Message-ID: <2026-12-04-1-daily-reply-0012@kernel.org> (raw)
In-Reply-To: <CAPzyDVC4QmezmsOr_VCam06SpxnxFpPRRZd6kQyJ_qUWF_75VA@mail.gmail.com>

> commit 5158f371faceb185235ba42882e67a840cfd7f48 upstream.
>
> When journal access fails, ocfs2_write_end_nolock() can return a
> negative errno. Its cleanup leaves the mmap target page locked for
> the VM. On an error return, do_page_mkwrite() does not unlock it.

This replaces the upstream commit message with a shorter rewrite, and it drops
Andrew's Signed-off-by along with the Reviewed-by (Joseph Qi, Heming Zhao),
Reported-by, Closes, Link and Cc: stable tags. The same goes for the 6.1
backport. The code change itself looks fine on both trees.

Could you resend both with the upstream commit message and tags as they are,
the "commit ... upstream." line on top, a short note about the folio_unlock()
to unlock_page() change, and your Signed-off-by below it?

-- 
Thanks,
Sasha

      reply	other threads:[~2026-12-04 19:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02 16:29 FAILED: patch "[PATCH] ocfs2: fix kernel BUG in ocfs2_page_mkwrite() when write_end" failed to apply to 6.6-stable tree gregkh
2026-12-03 14:31 ` [PATCH 6.6.y] ocfs2: fix kernel BUG in ocfs2_page_mkwrite() when write_end fails Zhiyuan Zhang
2026-12-04 19:49   ` Sasha Levin [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=2026-12-04-1-daily-reply-0012@kernel.org \
    --to=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=zhiyuanzhang912@gmail.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