[PATCH] ext4: include missing blk.h

Quentin Schulz foss+uboot at 0leil.net
Tue Oct 28 15:02:19 CET 2025


From: Quentin Schulz <quentin.schulz at cherry.de>

If missing, lbaint_t typedef will not be found in some cases.

[The proper fix for the commit above at the time would have been to
 include ide.h as only since 1a73661bc7a7 ("dm: Add a new header for
 block devices") is the typedef in blk.h]

Fixes: 04735e9c5578 ("Fix ext2/ext4 filesystem accesses beyond 2TiB")
Signed-off-by: Quentin Schulz <quentin.schulz at cherry.de>
---
 include/ext_common.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/ext_common.h b/include/ext_common.h
index 6e17fbd2771..09fb2aeb4d9 100644
--- a/include/ext_common.h
+++ b/include/ext_common.h
@@ -20,6 +20,7 @@
 #ifndef __EXT_COMMON__
 #define __EXT_COMMON__
 
+#include <blk.h>
 #include <compiler.h>
 
 struct cmd_tbl;

---
base-commit: 23987e10905146def3ab61e55ec912c6e742efdc
change-id: 20251028-ext-blk-h-57f36a078449

Best regards,
-- 
Quentin Schulz <quentin.schulz at cherry.de>



More information about the U-Boot mailing list