Whamcloud - gitweb
LU-5443 lustre: replace direct HZ access with kernel APIs
[fs/lustre-release.git] / lustre / llite / llite_lib.c
index 824ea66..4d3508e 100644 (file)
@@ -791,7 +791,7 @@ void ll_kill_super(struct super_block *sb)
                /* wait running statahead threads to quit */
                while (atomic_read(&sbi->ll_sa_running) > 0)
                        schedule_timeout_and_set_state(TASK_UNINTERRUPTIBLE,
-                                                       HZ >> 3);
+                               msecs_to_jiffies(MSEC_PER_SEC >> 3));
        }
 
        EXIT;