bcachefs: use same timesource as current_time()

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2019-04-16 16:03:31 -04:00 committed by Kent Overstreet
parent f80b4e64a4
commit ea41602344

View file

@ -838,7 +838,7 @@ static inline s64 bch2_current_time(struct bch_fs *c)
{
struct timespec64 now;
ktime_get_real_ts64(&now);
ktime_get_coarse_real_ts64(&now);
return timespec_to_bch2_time(c, now);
}