The previous diff changed a callsite to div_u64 in super-io.c when it
wasn't strictly necessary due to the types involved.

Signed-off-by: Reed Riley <[email protected]>
---
 fs/bcachefs/super-io.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/bcachefs/super-io.c b/fs/bcachefs/super-io.c
index 6f71e8cef7ea..c8c2ccbdfbb5 100644
--- a/fs/bcachefs/super-io.c
+++ b/fs/bcachefs/super-io.c
@@ -521,7 +521,7 @@ static void bch2_sb_update(struct bch_fs *c)
        c->sb.time_units_per_sec = NSEC_PER_SEC / c->sb.nsec_per_time_unit;
 
        /* XXX this is wrong, we need a 96 or 128 bit integer type */
-       c->sb.time_base_lo      = div64_u64(le64_to_cpu(src->time_base_lo),
+       c->sb.time_base_lo      = div_u64(le64_to_cpu(src->time_base_lo),
                                          c->sb.nsec_per_time_unit);
        c->sb.time_base_hi      = le32_to_cpu(src->time_base_hi);
 
-- 
2.46.0

Reply via email to