Re: VFS 64-bit clean

Stefan Monnier (monnier+lists/linux/kernel/news/@TEQUILA.SYSTEMSZ.CS.YALE.EDU)
20 Feb 1998 11:40:20 -0500


hpa@transmeta.com (H. Peter Anvin) writes:
> kernel code. Having a signed time_t is a Good Thing[TM], especially
> since once expanded to 64 bits it can pretty much represent all of
> time; if it was unsigned it would be limited to 1970 and after.

Agreed in the general case (in other words: for the syscall interface).
But the internal representation on disk is mostly independant and since it's
used in ext2fs to represent [acm]time and since those accesses could not have
happened before 1970 since ext2fs didn't exist at the time, it seems perfectly
fine to use unsigned 32bit ints (which get translated to signed 64bit or signed
32bit for VFS interfacing).

Stefan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu