]> granicus.if.org Git - zfs/commit
Modify gethrestime to use current_kernel_time()
authorJames H <james@kagisoft.co.uk>
Sat, 13 Jul 2013 20:25:04 +0000 (21:25 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 15 Jul 2013 16:17:19 +0000 (09:17 -0700)
commitc47efbc7fda5eaed9b60b3767347d9f88553309b
tree47233a67f23465e08df03310383ddc4b119dba0b
parentf7f344f1b099732908f47232858e68518bb4393a
Modify gethrestime to use current_kernel_time()

This allows us to get nanosecond resolution. It also means
we use the same time source as utimensat(now) etc.

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #255
module/spl/spl-time.c