freebsd-nq/sys/cddl
Xin LI 63243c5c71 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
MFC after:	1 month
2010-01-25 07:52:54 +00:00
..
boot/zfs Instead of assuming all vdevs are healthy, check the newest vdev label 2010-01-06 23:09:23 +00:00
compat/opensolaris On FreeBSD, time_t is 64-bit for all platforms except i386 and powerpc, 2010-01-25 07:52:54 +00:00
contrib/opensolaris Report ZFS filesystem version instead of the zpool version when we say it. 2010-01-11 23:15:11 +00:00
dev dtrace_gethrtime: improve scaling of TSC ticks to nanoseconds 2009-07-15 17:07:39 +00:00