Re: [RHEL5 PATCH 2/4] VFS: Make inode numbers 64-bits

From: Jan Engelhardt
Date: Tue Aug 15 2006 - 02:47:51 EST



>This patch changes __kernel_ino_t to be "unsigned long long" on all

Why not "uint64_t" (or u64)?


>--- a/include/asm-mips/stat.h
>+++ b/include/asm-mips/stat.h
>@@ -18,7 +18,7 @@ #if (_MIPS_SIM == _MIPS_SIM_ABI32) || (_
> struct stat {
> unsigned st_dev;
> long st_pad1[3]; /* Reserved for network id */
>- ino_t st_ino;
>+ unsigned long st_ino;
> mode_t st_mode;
> nlink_t st_nlink;
> uid_t st_uid;

Will the kernel still fold 64-bit inums to 32-bit for stat[32]()?


Jan Engelhardt
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/