Whamcloud - gitweb
LU-9019 libcfs: avoid using HZ and msecs_to_jiffies()
[fs/lustre-release.git] / lustre / ldlm / ldlm_lib.c
index 6faf0b8..0a29250 100644 (file)
@@ -2144,7 +2144,7 @@ repeat:
 
        while (wait_event_timeout(obd->obd_next_transno_waitq,
                                  check_routine(lut),
-                                 msecs_to_jiffies(60 * MSEC_PER_SEC)) == 0)
+                                 cfs_time_seconds(60)) == 0)
                ; /* wait indefinitely for event, but don't trigger watchdog */
 
        if (obd->obd_abort_recovery) {