freebsd-dev/sys/cddl/compat/opensolaris
Xin LI a498e71df3 MFC r202964:
On FreeBSD, time_t is 64-bit for all platforms except i386 and powerpc,
where the type is 32-bit.  ZFS can handle 64-bit timestamp internally
but zfs_setattr() would check if the time value can fit, we change the
checking macros to match 64-bit timestamp if the platform supports it.

This change has some downsides like, while you can import zfs on 32-bit
platforms, the timestamp would overflow if they are out of the range.

This fixes the Y2.038K issue on platforms using 64-bit timestamps.

Reviewed by:	pjd
2010-02-25 00:46:51 +00:00
..
kern MFC r197831,r197842,r197843,r197860,r197861: 2009-10-12 20:36:55 +00:00
rpc MFC r196395: 2009-08-20 00:08:58 +00:00
sys MFC r202964: 2010-02-25 00:46:51 +00:00