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=1796380427; b=Hozb+WNESWfADJYfB3CZ3UpPmOnG85VxXuMR743dyGVjuF79ox7ylRF13dHoEH78RkfE R++Vi8Xl1p8d96trzvm5D+NN5AlOeZrHHHGN6egB3ziM2Ih72miTZr2lsBOTgkVMst5rr 0wxT0tewWSffvn+W9lDMDs/DbO/F8w0y6AXkOJ74PacZlsL/lBBwZKQf0klvf8irPvsT+ ihx5WmsMyTCumNJ+i7f/i5cKwOaVfJlN4Bja5pP+GTvm998bHF7hCYFST4dv783gSWPJh FkA2JAjJCxx4/YHOu0lqexhVBfSrjPhmtlekvSkxct8iWZiZoJIVb8bz/mMKiz70vZA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796380427; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Transfer-Encoding; bh=rz+1kp6Ki3lVJ893N79ReePrRR902ZyX7aGLyEW9sKA=; b=zJsBiP1T+sSCnAfJtMgFzAFgbE1kZmBdRaqqMRCq9i0CbHeVvvqoJ3VOQMAve5plex+t Bhoas41uWJ02xJbRY6WqB7gOVJmjzURJdPUZNJeh6EF8Q6vX5xu564GagpPN6vVoC/z/w LCTDPnCUdFaPcSMKpjgI7pgHHWlA+kPjLW3Wu5/of8/brT6cxO0msAW/2POeS0gIgAhYB rT7fHb15K8eNUkpcyp5o9D3RtHjXzQlEkBja5M+53ejEC0XTmofjRDOvQs3/+ADOGHuZM +jF/dBsGL5MOhZhgDgayPqZQlAtXzjNRd39Tzbr0q5yzOMe11ygyoDX5iGAABk8NLiw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=g4d7lqQb; 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 13872606A687; Fri, 4 Dec 2026 10:33:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=g4d7lqQb Received: by smtp.kernel.org (Postfix) with ESMTPSA id 809171F000C2; Fri, 4 Dec 2026 10:33:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796380426; bh=rz+1kp6Ki3lVJ893N79ReePrRR902ZyX7aGLyEW9sKA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=g4d7lqQbVg2R9Xa8l67VBN6mRuHZlbOtE5fLVopb7SftAsLkL92fs/v1T75KUK1Ad P0TWxh+4080vCYq6R4YfTlNB9NfBdOmQcVhXsqKkjcAgBXoUuOk/PrHGBdVBrYesgj dKLCW+EHoNv+ZCpn9b5cG2T1RShijEvv8HmPKyDc= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Amit Patole , Jan Kara , Theodore Tso , Sasha Levin Subject: [PATCH 7.3 228/742] jbd2: document the h_invalid handle flag Date: Fri, 4 Dec 2026 19:01:32 +0900 Message-ID: <20261204100641.130923431@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100635.034361255@linuxfoundation.org> References: <20261204100635.034361255@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore 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 7.3-stable review patch. If anyone has any objections, please let me know. ------------------ From: Amit Patole [ Upstream commit 308c3c2ead9b32e959e8b08f6375b19aabad116f ] Commit 61e2a90a910c ("ext4: enable scoped NOFS when starting a handle in nojournal mode") added the h_invalid bit to struct jbd2_journal_handle but did not add it to the kernel-doc comment above the structure, so kernel-doc now warns: include/linux/jbd2.h:523 struct member 'h_invalid' not described in 'jbd2_journal_handle' Describe the new flag. It is set by ext4_get_nojournal() on a handle that is not attached to any journal and is tested by ext4_handle_valid(). The warning was found by running scripts/kernel-doc over the headers pulled into the htmldocs build. An AI coding assistant (Claude Opus 5.5) was used to locate the warning and draft this change; it was verified with scripts/kernel-doc (no warnings left) and checkpatch. Fixes: 61e2a90a910c ("ext4: enable scoped NOFS when starting a handle in nojournal mode") Signed-off-by: Amit Patole Reviewed-by: Jan Kara Link: https://patch.msgid.link/20261105-kdoc-jbd2-h_invalid-v1-1-4bc224f7d0a2@gmail.com Signed-off-by: Theodore Ts'o Signed-off-by: Sasha Levin --- include/linux/jbd2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/jbd2.h b/include/linux/jbd2.h index 1b42fe47c26b2..b344cb7336fe3 100644 --- a/include/linux/jbd2.h +++ b/include/linux/jbd2.h @@ -482,6 +482,7 @@ struct jbd2_revoke_table_s; * @h_sync: Flag for sync-on-close. * @h_reserved: Flag for handle for reserved credits. * @h_aborted: Flag indicating fatal error on handle. + * @h_invalid: Flag for a handle not attached to a journal (ext4 nojournal mode). * @h_type: For handle statistics. * @h_line_no: For handle statistics. * @h_start_jiffies: Handle Start time. -- 2.53.0