]> git.proxmox.com Git - mirror_spl.git/commit - include/sys/time.h
Allow 64-bit timestamps to be set on 64-bit kernels
authorChris Dunlop <chris@onthe.net.au>
Tue, 6 Dec 2011 04:29:58 +0000 (15:29 +1100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 12 Dec 2011 19:06:03 +0000 (11:06 -0800)
commit791dc876eb59f1543fee0bcfc1a97691c643ea3c
treeea8111a84bf24c8bac55a1bf0c2d980b69a15e61
parente05bec805b066e72266281a03e57e61e7dd53264
Allow 64-bit timestamps to be set on 64-bit kernels

ZFS and 64-bit linux are perfectly capable of dealing with 64-bit
timestamps, but ZFS deliberately prevents setting them.  Adjust
the SPL such that TIMESPEC_OVERFLOW will not always assume 32-bit
values and instead use the correct values for your kernel build.
This effectively allows 64-bit timestamps on 64-bit systems.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes ZFS issue #487
include/sys/time.h