nvmf/vfio-user: fix comment for map_io_cmd_req()

The comment no longer reflected the code.

Signed-off-by: John Levon <john.levon@nutanix.com>
Change-Id: I5903e9483f01dd9b7a61c8f725eba4c38e1b8459
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9008
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
John Levon 2021-07-30 13:41:26 +01:00 committed by Tomasz Zawadzki
parent 24a8c04af0
commit efd928e959

View File

@ -2568,10 +2568,9 @@ map_admin_cmd_req(struct nvmf_vfio_user_ctrlr *ctrlr, struct spdk_nvmf_request *
}
/*
* Handles an I/O command.
* Map an I/O command's buffers.
*
* Returns 0 on success and -errno on failure. Sets @submit on whether or not
* the request must be forwarded to NVMf.
* Returns 0 on success and -errno on failure.
*/
static int
map_io_cmd_req(struct nvmf_vfio_user_ctrlr *ctrlr, struct spdk_nvmf_request *req)