Re: stat64 for over 2TB file returned invalid st_blocks

From: Al Viro
Date: Thu Dec 01 2005 - 09:52:33 EST


On Thu, Dec 01, 2005 at 09:00:26PM +0900, Takashi Sato wrote:
> 2. Change the type of architecture dependent stat64.st_blocks in
> include/asm/asm-*/stat.h from unsigned long to unsigned long long.
> I tried modifying only stat64 of 32bit architecture
> (include/asm-i386/stat.h).

... watch libc have kittens on big-endian architectures subjected
to that treatment.
-
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/