forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-02-20 ea08eeccae9297f7aabd2ef7f0c2517ac4549acc
kernel/drivers/nvme/host/nvme.h
....@@ -754,7 +754,7 @@
754754 {
755755 struct nvme_ns *ns = req->q->queuedata;
756756
757
- if (req->cmd_flags & REQ_NVME_MPATH)
757
+ if ((req->cmd_flags & REQ_NVME_MPATH) && req->bio)
758758 trace_block_bio_complete(ns->head->disk->queue, req->bio);
759759 }
760760