Whamcloud - gitweb
LU-4423 ptlrpc: use 64-bit times for request times
[fs/lustre-release.git] / lustre / mdc / mdc_reint.c
index 898d349..1ef03bd 100644 (file)
@@ -222,7 +222,7 @@ rebuild:
         if (resends) {
                 req->rq_generation_set = 1;
                 req->rq_import_generation = generation;
-                req->rq_sent = cfs_time_current_sec() + resends;
+               req->rq_sent = ktime_get_real_seconds() + resends;
         }
         level = LUSTRE_IMP_FULL;
  resend: