NVMe: Use round_jiffies_relative() for the periodic, once-per-second timer
[linux-2.6-block.git] / drivers / block / nvme-core.c
index a89f7dbefba015bf08036bfc335b1de3b25e01b8..32fdfe9a5156a01fab6b451df1e89d85b9901d27 100644 (file)
@@ -1309,7 +1309,7 @@ static int nvme_kthread(void *data)
                }
                spin_unlock(&dev_list_lock);
                set_current_state(TASK_INTERRUPTIBLE);
-               schedule_timeout(HZ);
+               schedule_timeout(round_jiffies_relative(HZ));
        }
        return 0;
 }