]> git.ipfire.org Git - thirdparty/linux.git/commit
tools/nolibc: use 64-bit ino_t
authorThomas Weißschuh <linux@weissschuh.net>
Wed, 29 Oct 2025 16:02:51 +0000 (17:02 +0100)
committerThomas Weißschuh <linux@weissschuh.net>
Thu, 20 Nov 2025 18:46:33 +0000 (19:46 +0100)
commit87506e44cb85cc1c2bf70b3d496b674178f219bd
tree9afa17842ee5c02dd55cbbcbdc85bce82387c95a
parent2d8482959efee5721456d199106b9c256c11b11b
tools/nolibc: use 64-bit ino_t

The kernel uses 64-bit values for inode numbers.
Currently these might be truncated to 32-bit when assigned to
nolibc's ino_t values.

Switch to 64-bit ino_t consistently.

As ino_t is never used directly in kernel ABIs, no systemcall wrappers
need to be adapted.

Suggested-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/lkml/cec27d94-c99d-4c57-9a12-275ea663dda8@app.fastmail.com/
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
tools/include/nolibc/std.h