]> git.sesse.net Git - bcachefs-tools-debian/commit
Use the correct clock for userspace time.
authorJustin Husted <sigstop@gmail.com>
Mon, 4 Nov 2019 23:34:02 +0000 (15:34 -0800)
committerJustin Husted <sigstop@gmail.com>
Tue, 5 Nov 2019 05:23:46 +0000 (21:23 -0800)
commitff695c5afb04ed619de5ff272f6b2bb2f00c209d
tree3d22a788f8481bb70707cd609c50e0b3e4a84417
parent4ed889295cd39fa406b7ad202e3c8925cf0dc370
Use the correct clock for userspace time.

The ktime_get_coarse_real_ts64() implementation for userspace was using
CLOCK_MONOTONIC instead of CLOCK_REALTIME_COARSE.  This resulted in
files being timestamped with a time close to the unix epoch.

Signed-off-by: Justin Husted <sigstop@gmail.com>
include/linux/sched.h