From: Kent Overstreet Date: Tue, 16 Apr 2019 20:03:31 +0000 (-0400) Subject: bcachefs: use same timesource as current_time() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ea4160234487ac7baefb919747691a21d2face4a;p=linux.git bcachefs: use same timesource as current_time() Signed-off-by: Kent Overstreet --- diff --git a/fs/bcachefs/bcachefs.h b/fs/bcachefs/bcachefs.h index 72f9f5f9abe90..6f33121736bb8 100644 --- a/fs/bcachefs/bcachefs.h +++ b/fs/bcachefs/bcachefs.h @@ -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); }