From owner-cvs-src-old@FreeBSD.ORG Thu Feb 25 00:47:12 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C6431065696 for ; Thu, 25 Feb 2010 00:47:12 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7B76C8FC18 for ; Thu, 25 Feb 2010 00:47:12 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o1P0lC3Z069411 for ; Thu, 25 Feb 2010 00:47:12 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o1P0lCFC069359 for cvs-src-old@freebsd.org; Thu, 25 Feb 2010 00:47:12 GMT (envelope-from delphij@repoman.freebsd.org) Message-Id: <201002250047.o1P0lCFC069359@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to delphij@repoman.freebsd.org using -f From: Xin LI Date: Thu, 25 Feb 2010 00:46:51 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/cddl/compat/opensolaris/sys time.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2010 00:47:12 -0000 delphij 2010-02-25 00:46:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/cddl/compat/opensolaris/sys time.h Log: SVN rev 204295 on 2010-02-25 00:46:51Z by delphij 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 Revision Changes Path 1.4.2.2 +5 -0 src/sys/cddl/compat/opensolaris/sys/time.h