mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-08 14:23:19 +00:00
bcachefs: use same timesource as current_time()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
f80b4e64a4
commit
ea41602344
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user