summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs/bcachefs/bcachefs.h2
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);
}