diff options
-rw-r--r-- | drivers/block/nvme-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/nvme-core.c b/drivers/block/nvme-core.c index a89f7dbefba0..32fdfe9a5156 100644 --- a/drivers/block/nvme-core.c +++ b/drivers/block/nvme-core.c | |||
@@ -1309,7 +1309,7 @@ static int nvme_kthread(void *data) | |||
1309 | } | 1309 | } |
1310 | spin_unlock(&dev_list_lock); | 1310 | spin_unlock(&dev_list_lock); |
1311 | set_current_state(TASK_INTERRUPTIBLE); | 1311 | set_current_state(TASK_INTERRUPTIBLE); |
1312 | schedule_timeout(HZ); | 1312 | schedule_timeout(round_jiffies_relative(HZ)); |
1313 | } | 1313 | } |
1314 | return 0; | 1314 | return 0; |
1315 | } | 1315 | } |