Commit ea416023 authored by Kent Overstreet's avatar Kent Overstreet Committed by Kent Overstreet

bcachefs: use same timesource as current_time()

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent f80b4e64
...@@ -838,7 +838,7 @@ static inline s64 bch2_current_time(struct bch_fs *c) ...@@ -838,7 +838,7 @@ static inline s64 bch2_current_time(struct bch_fs *c)
{ {
struct timespec64 now; struct timespec64 now;
ktime_get_real_ts64(&now); ktime_get_coarse_real_ts64(&now);
return timespec_to_bch2_time(c, now); return timespec_to_bch2_time(c, now);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment