mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue