| Message ID | 20260108185149.1995917-4-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=1767898344; bh=FM3cO7FL/EmMYC/mhtOHl2+/lCn6jNftx7kArabTCUo=; 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=S9XGhHNpOMUlDNTdeuu4wkW3HU6GIX159bm4xxA79proMD73z5JVx8i8F/uRYcGRR cgKAiPVRbPwQB02DRDXi/S0iJky3BKI/OhlGD2kL24hA4Pwq0c3TfGdsPfgs0eINTE 3brZNcucRWv0x+spftIjMpMbnz88KmNP8VHDvIFZfm7TKJ2RI0vjLqWDJ3GdLx7rst ozogACmtmuXgxq3vdQrM5MiswbfzUgOwsnEcSYe0joVPBqMMWHvq2msGanLnKx42ps bk3mMdHBVtoA1swC7wK9WW67uOPg02JdEKV0Uny9IeVHDia8oTwrNTtLM8ojm/4Qko Qm7xnTcnCpQuw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 6999E691BF for <u-boot-concept@u-boot.org>; Thu, 8 Jan 2026 11:52:24 -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 ROZcrJbAvaFh for <u-boot-concept@u-boot.org>; Thu, 8 Jan 2026 11:52:24 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767898344; bh=FM3cO7FL/EmMYC/mhtOHl2+/lCn6jNftx7kArabTCUo=; 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=S9XGhHNpOMUlDNTdeuu4wkW3HU6GIX159bm4xxA79proMD73z5JVx8i8F/uRYcGRR cgKAiPVRbPwQB02DRDXi/S0iJky3BKI/OhlGD2kL24hA4Pwq0c3TfGdsPfgs0eINTE 3brZNcucRWv0x+spftIjMpMbnz88KmNP8VHDvIFZfm7TKJ2RI0vjLqWDJ3GdLx7rst ozogACmtmuXgxq3vdQrM5MiswbfzUgOwsnEcSYe0joVPBqMMWHvq2msGanLnKx42ps bk3mMdHBVtoA1swC7wK9WW67uOPg02JdEKV0Uny9IeVHDia8oTwrNTtLM8ojm/4Qko Qm7xnTcnCpQuw== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 53A64691C8 for <u-boot-concept@u-boot.org>; Thu, 8 Jan 2026 11:52:24 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767898341; bh=/Yua7Lt7j4ijhsLjJQeZB5YH54nsXGg5r0wBYF974vY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AniX5lQfL0QQqymLmWQtxbudnaN12T8joFE0ILtTaOkdkzxU0IcFGnnCLmZWtRp2Q KpjXd7Z5669uOaIRIG5A9lsMzLmp/mH8TPXfOUgT8DshavWjSNwe+OpKAC95T1sdWX YwgIX+SmUly/PhbT8xfU0xupUylqdaC74/2g2zOMBMb59tSlRywxDR3UxCLJCakLJj zIDwmdguud7gzQe5h4CcxdQsMRO7tCkDc9N8HSxYBMrnsgtBzN4U0ya4hEMtV3V1Mw mTH7ZX31OaV312Jt4lqYj1zL8cMnSBuKtJTzUX5xvLhlukY33qAJjoTyxzyTfCGw1X NUHLHAv1Lp1jA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id D707C691BF; Thu, 8 Jan 2026 11:52:21 -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 LqIVr5OSn0EP; Thu, 8 Jan 2026 11:52:21 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767898337; bh=MMW1m/0K7/VbbKsJ6PvKlHTxO80IrlTlr/9QUXFe5Ko=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QRVqrMASCSX3d6lv3DTIYk/5zWt3a0SSgaZTCKx7sVin2X6AFAcXYWbT49Flz68pQ 5Z+EGrmSria0qKCO6yGyPX0chhU+0xGM9+8ukQCTELhpqlvuHgtftuk0E2Y7VnIvbU VgFHwY/+V3WH7vTg465ZdauQOhGo6ZC0X5Q0il96qtrQkpqneklfkxNmsP/NrmYZwE y18vi2bBFKd7Ug+I3YpR7FOitUvECunbHFsfDUxkPfMx7LEiFK8VUDwpUL3fULtYVo yFpnEsNUU3/UGecZh9MHtdgvpVyWt7tDSwZa1qkc+U5EokAzVsI46WFPSMREG3YgLY O/VbuoMenc0Fg== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 8E23669101; Thu, 8 Jan 2026 11:52:17 -0700 (MST) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Thu, 8 Jan 2026 11:51:18 -0700 Message-ID: <20260108185149.1995917-4-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260108185149.1995917-1-sjg@u-boot.org> References: <20260108185149.1995917-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: JN4THKZTXLGKBAGA7D7N3XZEG4PDUKZF X-Message-ID-Hash: JN4THKZTXLGKBAGA7D7N3XZEG4PDUKZF 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: Heinrich Schuchardt <xypron.glpk@gmx.de>, Simon Glass <simon.glass@canonical.com> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 03/21] ext4l: Move __kernel_fsid_t to posix_types.h 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/JN4THKZTXLGKBAGA7D7N3XZEG4PDUKZF/> 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 |
ext4l: Add Kconfig options to reduce binary size (part P)
|
|
Commit Message
Simon Glass
Jan. 8, 2026, 6:51 p.m. UTC
From: Simon Glass <simon.glass@canonical.com> Other archs provide the struct __kernel_fsid_t definition in linux/posix_types.h, but sandbox does not. Add it so we can remove the ext4l version. Signed-off-by: Simon Glass <simon.glass@canonical.com> --- arch/sandbox/include/asm/posix_types.h | 4 ++++ fs/ext4l/ext4_uboot.h | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/arch/sandbox/include/asm/posix_types.h b/arch/sandbox/include/asm/posix_types.h index e1442c455bd..fe12ec9cc01 100644 --- a/arch/sandbox/include/asm/posix_types.h +++ b/arch/sandbox/include/asm/posix_types.h @@ -55,4 +55,8 @@ typedef unsigned short __kernel_old_gid_t; typedef long long __kernel_loff_t; #endif +typedef struct { + int val[2]; +} __kernel_fsid_t; + #endif diff --git a/fs/ext4l/ext4_uboot.h b/fs/ext4l/ext4_uboot.h index c975396dec4..f3dede424df 100644 --- a/fs/ext4l/ext4_uboot.h +++ b/fs/ext4l/ext4_uboot.h @@ -2067,11 +2067,6 @@ struct fid { }; }; -/* __kernel_fsid_t - must be before kstatfs */ -typedef struct { - int val[2]; -} __kernel_fsid_t; - /* uuid_to_fsid - convert UUID to fsid */ static inline __kernel_fsid_t uuid_to_fsid(const u8 *uuid) {