forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-16 50a212ec906f7524620675f0c57357691c26c81f
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