Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bdev_nvme: allow bdev_nvme_create() to take a NULL names arg
We will want to use bdev_nvme_create() to attach to controllers identified through discovery. In this case, we won't be reporting bdev names back to an RPC caller, so there's no need to allocate an array of names to be filled out since they won't be used. Signed-off-by: Jim Harris <[email protected]> Change-Id: Ia386d034df2c2d5a60f9aa18338ba415ec03d763 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10689 Tested-by: SPDK CI Jenkins <[email protected]> Community-CI: Broadcom CI <[email protected]> Community-CI: Mellanox Build Bot Reviewed-by: Changpeng Liu <[email protected]> Reviewed-by: Aleksey Marchuk <[email protected]>
- Loading branch information