diff options
author | Max Gurtovoy <maxg@mellanox.com> | 2019-04-08 18:39:59 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-04-25 16:41:26 +0200 |
commit | fc6c9730725d5cc57c851d0e261a5682bba913a7 (patch) | |
tree | 92b0533bc4988db7bf0097d6744e07d0a19b88c0 /drivers/nvme/target/nvmet.h | |
parent | 8dc2ed3f3e5ba245828ad89968f6818be8996e9d (diff) |
nvmet: rename nvme_completion instances from rsp to cqe
Use NVMe namings for improving code readability.
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by : Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/target/nvmet.h')
-rw-r--r-- | drivers/nvme/target/nvmet.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/nvme/target/nvmet.h b/drivers/nvme/target/nvmet.h index 1653d19b187f..c25d88fc9dec 100644 --- a/drivers/nvme/target/nvmet.h +++ b/drivers/nvme/target/nvmet.h @@ -284,7 +284,7 @@ struct nvmet_fabrics_ops { struct nvmet_req { struct nvme_command *cmd; - struct nvme_completion *rsp; + struct nvme_completion *cqe; struct nvmet_sq *sq; struct nvmet_cq *cq; struct nvmet_ns *ns; @@ -322,7 +322,7 @@ extern struct workqueue_struct *buffered_io_wq; static inline void nvmet_set_result(struct nvmet_req *req, u32 result) { - req->rsp->result.u32 = cpu_to_le32(result); + req->cqe->result.u32 = cpu_to_le32(result); } /* |