From patchwork Sun Dec 21 21:20:19 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1024 Return-Path: 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=1766352068; bh=hQ9geT8HaULd+1vXMfscuhx1PoKkNXLrE8m77YYIUcs=; 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=mOPR5ZkwC0BJT0G0j6iiTkruN7G/7brvrVBVBGpF0LdWYKDdCjR68oVZkNZ+PyCkM IL6SW/IIFlBhkIc5R+yLC40bqS6GjqekAlHbt7zwVdSdOSh8ZdKM/OMiA5TiukRMUG HQuNuzDpwosnfvobnf5nO9lITkrifOPOTUvHlof1deCAxW53Ew9eZwEMdUOv8Urfpt eMw1UsGD8/DRVczrLOExrWvoJdnQwlbuqcvgFE9OKdWn5fo9X8aUOdRcFOau9jwSls KQkaMdFuJYIa/7JuLJgCuxH67Lk8f9VcShPsbmtCSyEEepc5qard1MgdKD/UJxKI7x j5CJE0GKFbtIg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 7C06C64CD8 for ; Sun, 21 Dec 2025 14:21:08 -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 TwSW5UE8onBs for ; Sun, 21 Dec 2025 14:21:08 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766352068; bh=hQ9geT8HaULd+1vXMfscuhx1PoKkNXLrE8m77YYIUcs=; 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=mOPR5ZkwC0BJT0G0j6iiTkruN7G/7brvrVBVBGpF0LdWYKDdCjR68oVZkNZ+PyCkM IL6SW/IIFlBhkIc5R+yLC40bqS6GjqekAlHbt7zwVdSdOSh8ZdKM/OMiA5TiukRMUG HQuNuzDpwosnfvobnf5nO9lITkrifOPOTUvHlof1deCAxW53Ew9eZwEMdUOv8Urfpt eMw1UsGD8/DRVczrLOExrWvoJdnQwlbuqcvgFE9OKdWn5fo9X8aUOdRcFOau9jwSls KQkaMdFuJYIa/7JuLJgCuxH67Lk8f9VcShPsbmtCSyEEepc5qard1MgdKD/UJxKI7x j5CJE0GKFbtIg== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 6566264CBD for ; Sun, 21 Dec 2025 14:21:08 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766352065; bh=LDnihbwl8bwF7Hd2v5rIPNJehqWI1iuMpNSNaBLhXtI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bd522+u2GFLNq7qn7iPQu9COU7/KCsbZuceyP7cmoGDFoEXj7wRTY9iRjvdT7LAlZ s6qhF++VGwDn4GEMrsHekJvLkMsc9CEEb3WZ0OtelCpgrq0EW6N9mR0T+WCUSOHIlt /XBBJQ6zC3XIv3UHIfTOBJL/K1QXwtWTCzyUdCpf7l8UhzyfJK96/kZEV7hAX5RD7w 1V+x11f+Kz/wRX+KyR8xeFjq7jkEFnhp7GKReXM+WQmDihc8Waadcrv/2us+BGnVIW KvnrE/ZE3rp4O2yn06Gu4NoIzMWncsAaPrs3mgfGJVxbM5ObGR+AAIREsMRggn3UOg z/pe6/OL3Ixfw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id CACC464CF3; Sun, 21 Dec 2025 14:21:05 -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 5oJLP_kVej67; Sun, 21 Dec 2025 14:21:05 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766352063; bh=CE1nPaw36f1VuVdfEUY0ZhWWFfKfr292B558R6VpXMQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NJKH6YzDcYPVV3A2JB/oAwfpAHIhSPjHsrGgBbVZrhk8ZNyc0IycTZ2stN9lVtgd7 sLRup5jYATcEhHTFpotTWItvn/xiQFef1q4UXR9WHRQSYG8ozk9ux5p30L/eI/LBlm A202T8K/+yl5qx+UT6ecnDIa5eg2UBBmQ/2iLBVFfFRzLynipYTJ4RNiNLdBhePvBJ Cnd4YMb/GBNIqoXHL9OlVt0KytKTCBcTe9t2TmraQra/Ssf+EHSRFrelQtasWHe6Sz diJe2g+/KxICZt1M8u28oenWrjgPP2l/l+fVVn79A1zzrdsmz1s4bb1F3cyltjTYMe eR8+WqgHVt2eA== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 48EF164D23; Sun, 21 Dec 2025 14:21:03 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Sun, 21 Dec 2025 14:20:19 -0700 Message-ID: <20251221212028.857348-12-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251221212028.857348-1-sjg@u-boot.org> References: <20251221212028.857348-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: C7M6PKSDPUWOLUUNII2IACVZKEOIAWP5 X-Message-ID-Hash: C7M6PKSDPUWOLUUNII2IACVZKEOIAWP5 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 , "Claude Opus 4 . 5" X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 11/15] ext4l: Add migrate.c to the build List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass Add extent migration support for write operations. Use the ext4_uboot.h compatibility layer instead of Linux headers. Co-developed-by: Claude Opus 4.5 Signed-off-by: Simon Glass --- fs/ext4l/Makefile | 2 +- fs/ext4l/migrate.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/ext4l/Makefile b/fs/ext4l/Makefile index 4003a1f2317..784ba7203b1 100644 --- a/fs/ext4l/Makefile +++ b/fs/ext4l/Makefile @@ -7,7 +7,7 @@ obj-y := interface.o stub.o obj-y += balloc.o bitmap.o block_validity.o dir.o ext4_jbd2.o extents.o \ extents_status.o file.o fsync.o hash.o ialloc.o \ - indirect.o inline.o inode.o mballoc.o \ + indirect.o inline.o inode.o mballoc.o migrate.o \ namei.o page-io.o readpage.o \ super.o symlink.o xattr.o \ xattr_hurd.o xattr_trusted.o \ diff --git a/fs/ext4l/migrate.c b/fs/ext4l/migrate.c index 1b0dfd963d3..63d881767e5 100644 --- a/fs/ext4l/migrate.c +++ b/fs/ext4l/migrate.c @@ -5,7 +5,7 @@ * */ -#include +#include "ext4_uboot.h" #include "ext4_jbd2.h" #include "ext4_extents.h"