diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/nvme/target/loop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvme/target/loop.c b/drivers/nvme/target/loop.c index 35314d96b4db..88a1927bcf6f 100644 --- a/drivers/nvme/target/loop.c +++ b/drivers/nvme/target/loop.c @@ -98,6 +98,7 @@ static void nvme_loop_complete_rq(struct request *req) if (unlikely(req->errors)) { if (nvme_req_needs_retry(req, req->errors)) { + req->retries++; nvme_requeue_req(req); return; } |