diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c index 0a1a9e452148a84f4e1fdf733f7f990598596361..0122491d947cdc8f4324ec3ec70be7bc88ffce61 100644 --- a/fs/ceph/mds_client.c +++ b/fs/ceph/mds_client.c @@ -3140,7 +3140,7 @@ static void handle_lease(struct ceph_mds_client *mdsc, di->lease_renew_from && di->lease_renew_after == 0) { unsigned long duration = - le32_to_cpu(h->duration_ms) * HZ / 1000; + msecs_to_jiffies(le32_to_cpu(h->duration_ms)); di->lease_seq = seq; dentry->d_time = di->lease_renew_from + duration;