lib/vhost: add static qualifier to spdk_vhost_scsi_device_background.
This variable is only used in this function. Signed-off-by: Seth Howell <seth.howell@intel.com> Change-Id: Ib1836662e8068f6a459ce8746b45b5dca08079e6 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2305 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
This commit is contained in:
parent
0059b45510
commit
dd81d57565
@ -147,7 +147,7 @@ static void vhost_scsi_write_config_json(struct spdk_vhost_dev *vdev,
|
|||||||
struct spdk_json_write_ctx *w);
|
struct spdk_json_write_ctx *w);
|
||||||
static int vhost_scsi_dev_remove(struct spdk_vhost_dev *vdev);
|
static int vhost_scsi_dev_remove(struct spdk_vhost_dev *vdev);
|
||||||
|
|
||||||
const struct spdk_vhost_dev_backend spdk_vhost_scsi_device_backend = {
|
static const struct spdk_vhost_dev_backend spdk_vhost_scsi_device_backend = {
|
||||||
.session_ctx_size = sizeof(struct spdk_vhost_scsi_session) - sizeof(struct spdk_vhost_session),
|
.session_ctx_size = sizeof(struct spdk_vhost_scsi_session) - sizeof(struct spdk_vhost_session),
|
||||||
.start_session = vhost_scsi_start,
|
.start_session = vhost_scsi_start,
|
||||||
.stop_session = vhost_scsi_stop,
|
.stop_session = vhost_scsi_stop,
|
||||||
|
Loading…
Reference in New Issue
Block a user