mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
nvme: no need to wait for the reset when keepalive fails
We don't need to wait for the reset from the delayed work item that is kicked off when we don't get a keepalive. Signed-off-by: Christoph Hellwig <[email protected]> Reported-by: Sagi Grimberg <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]>
This commit is contained in:
parent
d86c4d8ef3
commit
39bdc5901f
1 changed files with 1 additions and 1 deletions
|
|
@ -624,7 +624,7 @@ static void nvme_keep_alive_work(struct work_struct *work)
|
|||
if (nvme_keep_alive(ctrl)) {
|
||||
/* allocation failure, reset the controller */
|
||||
dev_err(ctrl->device, "keep-alive failed\n");
|
||||
nvme_reset_ctrl_sync(ctrl);
|
||||
nvme_reset_ctrl(ctrl);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue