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=1796402231; b=Q6kLQguA+ZdBuUi4r791tN75o55PrWfwOzXYNDxyOpwwssf+NcyWptzJXTom+hM7vANh kACUNdiFVHQN51rJrC1LRex7VS2HbM+UgcwM+IXHzx9NmqJYbRqnjkxUmiQudkc58A5V6 pfMD5FeznwwQwgsnYTjDRJdPYFjkPIOqvsjVyYkslSsh3T9vrrtIc5h8ysGP1Ql/4NGX1 rS12OpOre7mtjS9EUbi5nqn1wy65jDCTbHAHCSh7oNRlHH8Y++vVoUxzBi2aT6MwIJKFH roOOGVthrK5bCOno3RvboIqoLkRgMcFb4TooAOOcVxPCly5kcS97opHqqNpwZZ5Hwkw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796402231; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=lU9z2WyqKY9qNZqPQ1HaEZeUWsXjLzjgMEbI39PYa/8=; b=S2Y+ZmQIGTv5oCc8YUVB+TdZFoR3K4K6fl6WkkiQqT4Hf1ehI/xKysAUDTUPa+Y9CdRp MOZI17oyIcRl98xt1IAEm8BU6z6QmhQ64JM/HqTF4mI/fANLnuwFYpySWBdUxI031zE/d bDzk9AqlO2NKvwAXR4RY3kei2bWCoMPrIhKATqwNZHl3Ko3dMy4bOgkSNZqlTD2Zvr2Go hku199EIViup7G+9Dl6+nexwh7lP4kJGY5VcjVVWBr6bKrLO7hcrxnfUc1kV4xPvBRvQv 1rPrcWPDMRliovuCHfTEl2sZxdETaIVgtpB57VtaDQXZ9SxytFa4tzbs8QihDQ0O7Ig== 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=Zh3Uboez; 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 9AFBF606A32C for ; Fri, 4 Dec 2026 16:37:11 +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=Zh3Uboez Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0EBE61F000C2; Fri, 4 Dec 2026 16:37:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796402231; bh=lU9z2WyqKY9qNZqPQ1HaEZeUWsXjLzjgMEbI39PYa/8=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=Zh3Uboez9ofNYXaN0O9IR0Jg+xQMchOB+t/0SUaEj8w10PSyGvfGZJVGrlmajYo3R 9iDPEf6xy65mQJAynNeAHNAr1MAKYSovXy4qW+rzMHw4V+oIU2putJq0HE6hmxhXsG 4A3V2AsahcsKGyfQMu0qZ0660yR0EE8Oc/NPTNXU6iNx5g6I+0EVudLwWI1l+JRjVP t/uytMpyD5DSkHyUKF/oTry6JOFsaH+0HFU8LFCurWzM6Ee6DhSymRawxaGRIoeWnQ MUYCAzcqegzz4qdCENmoHh4Z6QYyUTSrjzC9gvNNIG6EQB+vfmAW9f48vVuK38vN2r Ks/fheW15eWVg== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v3 1/2] gfs2: minor punch_hole error path cleanup Reply-To: sashiko-reviews@lists.linux.dev To: "Mark Syms" , "Andreas Gruenbacher" Cc: gfs2@lists.linux.dev, "Christoph Hellwig" In-Reply-To: <1432c57e0294741f0b71dce7b2e563f317f10c48.1796393524.git.mark.syms@citrix.com> References: <20261202155751.690482-1-mark.syms@citrix.com> <1432c57e0294741f0b71dce7b2e563f317f10c48.1796393524.git.mark.syms@citrix.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 16:37:10 +0000 X-Mailing-List: gfs2@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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 > 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 cache= d writeback mapping after a punch" > Signed-off-by: Andreas Gruenbacher > Signed-off-by: Mark Syms [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 includ= e: Fixes: d552a2b9b33e ("GFS2: Non-recursive delete") --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/cover.1796393524.gi= t.mark.syms@citrix.com?part=3D1