From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796413815; b=rozPK5wOrIufM4OWW8Y0wAKyFuXnNahZj5gEzq9cWcP8FeF+hDBTjGQsJwcfAr0AvNsf Iaw0kPzAQ1KOqQ5QGA+q8qP+NkU+WNy4kDaWp5QOtlUvYjyOTMNLJmsEIMTyLqda4IIOP aIVivuJTxb2u68bIfvRBxhtILL1FS2jqVf+PDGtlU5zZ6sexGJmYIJF4ihcc1cxzOAidE u+VoKy1U5cBj8bx3j8bPfXzwZHuo6p4JtnsEAoJMCXNYNVNYEW+RYRIlGniVgv+3ykZ/R x2CW+mwZa3mKLWyHOYcjEZZ4+WK3xDBnj6TX9dCUygEErcC0/K6Nq7fxxltpvcA2hEg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796413815; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:MIME-Version:Content-Transfer-Encoding; bh=ek+op8duJ3a0hqUpK1buhaLVNUCasHHqAB2xlso2sRk=; b=YVAMUtvEs4mJU/ogQhaz6UFh+bfnlQk/uZuzHLlKrOmk3PSoX4u+pZDa8XeVzb1Zh+Zo Upp/M/xnJUHEtnJxO2zpUJ3OhDb71QUZ5WJvVsxG5RAcm9R32r6hdUJB/ESjY9f6WXlF2 jV7B4s1OQI0joxawajtbEO91MhYbRW6chR48QXcL+XMfhlTibxWdvLfDpXzHEePw5Fj4s 6LR4qTR/oy8pjhU/sSIqBP3T71sxGg6IRVM3oj/FEFHM1yIXu+E+r0wmqK8fhXgMdeg7r EZjdShbg871G/PY/gCvduX2gkkeCWuHXBDfDO2JSmIaUADgIlvG1tckehpDNVERi2YQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=SFRluBrL; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1BFF8606A322 for ; Fri, 4 Dec 2026 19:50:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=SFRluBrL Received: by smtp.kernel.org (Postfix) with ESMTPSA id 206E61F00A14; Fri, 4 Dec 2026 19:50:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796413814; bh=ek+op8duJ3a0hqUpK1buhaLVNUCasHHqAB2xlso2sRk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=SFRluBrLg4aHbf5d8SJV9zVDq6xcbtlNpUqrNAlKdPDq7Caf/Rz4SmJpJ/c3aR+IO YaZ5unhYrUtYiqRD046ApA9480eL0aAC9xz6zzSEFq+XdGb/8Hb6CLbyLIdvBv+SnR NoAj03FKJlfd0XsSS1ZH4QxajmlNEYWj7rk5TKXmPNL1YeMDKRZCldaWEVQW3hx0Lo 0vqIlPgKBWMxF3lJOwjvXCCogokYz50IdrV6SHjMKRNaZjuZKEU3Ogi59kxHaSaN2z ye5oN7JBYf/ViCskWop07+Fm8ryfluNanH0JYiZUq2ikNgqhtIl47V+a36eZtqgdQw QU7KnwaWmZxAw== From: Sasha Levin To: stable@vger.kernel.org Cc: Sasha Levin , Zhiyuan Zhang 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 Message-ID: <2026-12-04-1-daily-reply-0012@kernel.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: References: X-Mailing-List: stable@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit > 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