Home Home > GIT Browse > SLE15-AZURE
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2019-09-10 12:58:37 +0200
committerHannes Reinecke <hare@suse.de>2019-09-10 12:58:44 +0200
commitaf1b683886b1b1ee500c6fead833328878d30921 (patch)
tree887cfa9baf26c31ee7faa21c07a52e4ddc390b13
parentbbd094eb78d406a9c3f2e9d3f2e17a8b842af0fa (diff)
nvme: cancel request synchronously (bsc#1145661).
-rw-r--r--drivers/nvme/host/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
index 12f8f3a3eb76..9155d84e94cd 100644
--- a/drivers/nvme/host/core.c
+++ b/drivers/nvme/host/core.c
@@ -285,7 +285,7 @@ void nvme_cancel_request(struct request *req, void *data, bool reserved)
"Cancelling I/O %d", req->tag);
nvme_req(req)->status = NVME_SC_ABORT_REQ;
- blk_mq_complete_request(req);
+ blk_mq_complete_request_sync(req);
}
EXPORT_SYMBOL_GPL(nvme_cancel_request);