diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-04-16 16:03:31 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2019-04-16 16:04:19 -0400 |
commit | 17224941241a76ec818c4a64451d797252a98241 (patch) | |
tree | 2791cb121517c1939b3f778e19192030bf25af21 | |
parent | 8302f6df29b10886626a55bc6581d9428d1eedb5 (diff) |
bcachefs: use same timesource as current_time()
-rw-r--r-- | fs/bcachefs/bcachefs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/bcachefs.h b/fs/bcachefs/bcachefs.h index 438e646e225e..e675d22cfe4d 100644 --- a/fs/bcachefs/bcachefs.h +++ b/fs/bcachefs/bcachefs.h @@ -835,7 +835,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); } |