| Message ID | 20251222115639.700578-8-sjg@u-boot.org |
|---|---|
| State | New |
| Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766404637; bh=MI+O/MWFbtvvkmXUq0VFzLFJdSbkOQxghYDYrfcacv8=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=gsHyX8V9EXet1QUYjM1BsSl16x7tFqoldfgTzvnqzjWZ57IBX8QYo18fnbRsmLuKH 5RcZHDUy2CR+iAzVasTqjuj3sLl1RnIXhVmiQdUSD6WWaHcfbVRpzqxSWM04dvb8Sf wdS5vu1+3Jwyz3pieYxs7yydmeRbB3/9uQaJjl1KLZ4rGpn0+srUe8EWRWkbhagAe0 95K3LCD57bzJGn6czeilOeaTrQHOWjy6hUF3BgaVrqeBPbFvkKwW7MlqLHx7xJ8e7c z/YJGppWX7p/Ap0YaY4rtFiDJGWW06V6o9vvMkdKGdkT+7KOJ6eJyX9/Yr2/CoeV6q K5frUlNzP6qDg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 8E2BE64CCE for <u-boot-concept@u-boot.org>; Mon, 22 Dec 2025 04:57:17 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 8QVN85k2zg14 for <u-boot-concept@u-boot.org>; Mon, 22 Dec 2025 04:57:17 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766404636; bh=MI+O/MWFbtvvkmXUq0VFzLFJdSbkOQxghYDYrfcacv8=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=voX71Ng/lDq1mJW89Rk6CueWuEz4lwMumzOyt2w1bGuLI3NUiFvdRqKod3CAxNh78 ucP72jergGzZeHTYyqm9MGiTZ5dGyGZepPU5sKDtSLPbiUIJ8vK+EhfGfvMIZupfkU pz7x3TinJ6UoBJVptX1UuJnHs3glAGQCSURPQNTWoWmerZoj/HOpVwKDZL3/klO79h +NjndfM/sKhQcz8BucRdD4GUSqqtNPmqUKKL3fZn38XY9H3SbfdfXF3d5jC/VeQZBB bwkDlGqMi9XkrTRjxefexbNWJ6pxE11RAsebYlFQ6emvEddJnRevu6494va+Ez44vt nTwGquQn1qstA== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 3F45264D59 for <u-boot-concept@u-boot.org>; Mon, 22 Dec 2025 04:57:16 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766404634; bh=s8WW4EYics3Mx8Chac273BP3CCc2hjHON6Ns6vfjc4Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=He6rxc5F8VcW7yUcVatZ2E91btTBBBPj9KblJ07wv2KYH7wIw2M1bVVhHrTvkeUPS NFoEgo/RZy3dob6D/nI/mU4LEOG/otY5N+GmXCLwn2cn+XmyPBf3zR7w1N1XRvZKRO 9RkMVtelXt0xTpAtCjmNlgRmlzBunQFni6PKcYfc02YU+A9z/E9AYbKwiGPrPPlRmG ojSBROJkT+QnVv8jIb0/rg8R90oMQdOO6llehiQuhaTNzFg5D/WLVaz0wB+v/KbBV/ h5MaUU2E6Fk70El4iaojFAKjwonkAeDeBUu2YMgpv0yOqDUgaY/XUFU3Fzd+5BXV/l kIgpk7n04Ou1Q== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id EEB2864D67; Mon, 22 Dec 2025 04:57:14 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id TUwxVB690cyu; Mon, 22 Dec 2025 04:57:14 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766404632; bh=hSZTw6RQPY77h1NkmBFP4Yw1GY5W/GcM7KQSv8ptyKE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rV+nQIRxB2YrdhOA9iTUf/Vpyof9TY3fIf6HyUwwpkOaTUwYYNzd0eviaxGZM3P3E ejvgawsq4AEmfQQj8WZRABV9K2DCDAcv815utmGvWAuDMcR8rS3aCJgulUkVBrrkD9 CVLVQi8xeBCkTwnbTWyWlWRMA47rLuCNitzQlgnOelUNsN2SupqQkyth3Xdy3RByS0 ovQ7eV3Fk8UV7vFblRCbKBuA2y7e74gtzhtHTTSdWJmQbFsiGnMEOKXQOshP9Ab3ZS U+ZLcSeoHv8KWgYi4ItPy9ZsHQeu6JqGYtE1hZyyou4YePJAW8ZZCk1l+luaKZgjov hu53Ntgy+cOzA== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 6297764D4C; Mon, 22 Dec 2025 04:57:12 -0700 (MST) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Mon, 22 Dec 2025 04:56:11 -0700 Message-ID: <20251222115639.700578-8-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251222115639.700578-1-sjg@u-boot.org> References: <20251222115639.700578-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: YDE3O6CCUDTXKD5KGZ7HU7DS2O3CIWME X-Message-ID-Hash: YDE3O6CCUDTXKD5KGZ7HU7DS2O3CIWME X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass <simon.glass@canonical.com>, "Claude Opus 4 . 5" <noreply@anthropic.com> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 07/26] linux: Update jbd2.h includes List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/YDE3O6CCUDTXKD5KGZ7HU7DS2O3CIWME/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
| Series |
fs: ext4l: Add support for mounting ext4 filesystems (part G)
|
|
Commit Message
Simon Glass
Dec. 22, 2025, 11:56 a.m. UTC
From: Simon Glass <simon.glass@canonical.com> Add includes for the new header files (blk_types.h, jiffies.h, percpu_counter.h, spinlock.h) to jbd2.h so it can be included standalone. Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com> --- include/linux/jbd2.h | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/include/linux/jbd2.h b/include/linux/jbd2.h index 35b68ffc0fd..41725fb42af 100644 --- a/include/linux/jbd2.h +++ b/include/linux/jbd2.h @@ -20,14 +20,18 @@ #else #include <linux/types.h> +#include <linux/blk_types.h> #include <linux/buffer_head.h> #include <linux/journal-head.h> #include <linux/stddef.h> #include <linux/mutex.h> #include <linux/timer.h> #include <linux/slab.h> +#include <linux/spinlock.h> #include <linux/bit_spinlock.h> #include <linux/blkdev.h> +#include <linux/jiffies.h> +#include <linux/percpu_counter.h> #include <linux/crc32c.h> #include <linux/wait.h> #include <linux/init.h> @@ -70,6 +74,7 @@ void __jbd2_debug(int level, const char *file, const char *func, extern void *jbd2_alloc(size_t size, gfp_t flags); extern void jbd2_free(void *ptr, size_t size); +extern int jbd2_journal_init_global(void); #define JBD2_MIN_JOURNAL_BLOCKS 1024 #define JBD2_DEFAULT_FAST_COMMIT_BLOCKS 256