| Message ID | 20260114225635.3407989-27-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=1768431527; bh=y/vOvhS6NOyyyYQV/02hiyGhAW3eYj9l5CMcE+P7P+o=; 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=AfeuO6jZnGw67tggFYb2Cp2iA+opBhvAcoL8EHbklkh+P1J1F4DkZ3Jl193d5iHg3 5xPbRDDQDpC4OSKaZRICsC2WeK6drqugSqXF0mu/PlBHbrMlGrQinGCtQv8p0WFk3c HQfhFlnrjNZKkFfG2ak+CqMUqMGrkkimDNJUJ8wQYd0L5odSTv/tuwgEsagqz7yDrj dPOeos/eSrtUjwAhtl9j6UF4kbEwXUjxIdNdTOYDwnF4c0RGz+LSdnSoP1t+X6FULG weTAZSwVVrHeChFNlD2mJTvwi50Ya3tyYydGc3TFqI7bde92syW+HXjfKgBSZGgDJu rfgIrSl9vdWfw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 5097B6913F for <u-boot-concept@u-boot.org>; Wed, 14 Jan 2026 15:58:47 -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 XMPxEYnPwklp for <u-boot-concept@u-boot.org>; Wed, 14 Jan 2026 15:58:47 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1768431527; bh=y/vOvhS6NOyyyYQV/02hiyGhAW3eYj9l5CMcE+P7P+o=; 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=AfeuO6jZnGw67tggFYb2Cp2iA+opBhvAcoL8EHbklkh+P1J1F4DkZ3Jl193d5iHg3 5xPbRDDQDpC4OSKaZRICsC2WeK6drqugSqXF0mu/PlBHbrMlGrQinGCtQv8p0WFk3c HQfhFlnrjNZKkFfG2ak+CqMUqMGrkkimDNJUJ8wQYd0L5odSTv/tuwgEsagqz7yDrj dPOeos/eSrtUjwAhtl9j6UF4kbEwXUjxIdNdTOYDwnF4c0RGz+LSdnSoP1t+X6FULG weTAZSwVVrHeChFNlD2mJTvwi50Ya3tyYydGc3TFqI7bde92syW+HXjfKgBSZGgDJu rfgIrSl9vdWfw== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 3E12B6934D for <u-boot-concept@u-boot.org>; Wed, 14 Jan 2026 15:58:47 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1768431524; bh=pdMoN1oK/WT+sEKNwPHveNWKDLxZ4q6tpSEu9s5R0og=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Nsx0PNyjFRpW8/r5z49Gfmwg67CPMZV7YcymwZ30B+FrExOrGDL+5/5DwwYZ13Vf4 h3uoCs889qhiy4ClAJBrEF4D/JByLfVyeflap9weBSj2xQ+IgZ2VaNhRUElrccYsU5 Y3vhhfdWjGgfBK9KhthoxYMeLMaXh2Ph8/ZOEUbDjeddNLoSche4mI0+DDNpv/TrtC QsHuiyblmvwwTibos2XNU7ftKViesI+BY62I5NNkzXBR5hDSxcb9RrxPXIq+wkYswb uoqipW785eRT9XhJnj1Nm7+o0nImpJQe3YTdQxtWm/1QMb90o+k3iDHEoTUzA4rbod qYBfdN199aOSA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id A3EF26913F; Wed, 14 Jan 2026 15:58:44 -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 ibvM9GV-nmBR; Wed, 14 Jan 2026 15:58:44 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1768431520; bh=eHMXn7LPdZiee45ZX/wXl1sJK8kjz21c3Pkfmi8wMQM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T7uuEYxbB0UTcuY/+7ghvJRnUa7wPQFV0chNPdk+BKb0K5rCU5ObvjtuJgC5o3qb6 w/lKMwwW3U0nvnnq2zHsCioZT3uuN953Vf6OjZB9Y8AWa9KkpIvwefvDZwDXuZ/AUy ybQgNYJ4EQDrteDSR30L5lsUMkTc3Dg0Vf5WuzOLtgvU+P81ikE/zSAFheA4R20p5g sdYBWbuPeBVEc12GhJ8k3h1ReA8bQcK5R6QHC2AXhPGXHmnY1aL5xnTmCG5+bumyA3 FxTVmsHupg0nqeFOtAiHgZifxX6slHXZ4eYVYCyoGui+XXw+cbNgknqDktFxBwe/tG Ihy0ddGOn67AQ== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 5948A692EF; Wed, 14 Jan 2026 15:58:40 -0700 (MST) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Wed, 14 Jan 2026 15:56:16 -0700 Message-ID: <20260114225635.3407989-27-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260114225635.3407989-1-sjg@u-boot.org> References: <20260114225635.3407989-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: NPKIAO4RADYHQSJ7OCWVOMEUK7VY5ZAB X-Message-ID-Hash: NPKIAO4RADYHQSJ7OCWVOMEUK7VY5ZAB 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 26/34] ext4l: Move pgoff_t to linux/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/NPKIAO4RADYHQSJ7OCWVOMEUK7VY5ZAB/> 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: Clean up ext4_uboot.h by moving definitions to standard headers
|
|
Commit Message
Simon Glass
Jan. 14, 2026, 10:56 p.m. UTC
From: Simon Glass <simon.glass@canonical.com> Move pgoff_t (page cache offset type) from ext4_uboot.h to linux/types.h where it belongs alongside other fundamental Linux types like sector_t and blkcnt_t. Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com> --- fs/ext4l/ext4_uboot.h | 3 +-- include/linux/types.h | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/fs/ext4l/ext4_uboot.h b/fs/ext4l/ext4_uboot.h index 4cb9b23a8c7..08d28fd01ad 100644 --- a/fs/ext4l/ext4_uboot.h +++ b/fs/ext4l/ext4_uboot.h @@ -167,8 +167,7 @@ struct kobject { /* Forward declarations (struct inode, struct address_space) are in linux/fs.h */ -/* Page types */ -typedef unsigned long pgoff_t; +/* pgoff_t is in linux/types.h */ #ifndef PAGE_SHIFT #define PAGE_SHIFT 12 #endif diff --git a/include/linux/types.h b/include/linux/types.h index 957284d37ab..5255eecd407 100644 --- a/include/linux/types.h +++ b/include/linux/types.h @@ -165,6 +165,9 @@ typedef s64 ktime_t; typedef u64 sector_t; typedef u64 blkcnt_t; +/* Page cache offset type */ +typedef unsigned long pgoff_t; + #ifdef __linux__ struct ustat { __kernel_daddr_t f_tfree;