diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-08-17 16:34:38 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-10-10 23:31:09 +0200 |
commit | ca853813f7b5180a2037ce10b781e189adaa7b4c (patch) | |
tree | abc81379df9246d55a91eb9c429c8ad2d55a04f4 /contrib | |
parent | ade9ab222eea0ea50e9b6b857358b196a09e1217 (diff) | |
download | qemu-ca853813f7b5180a2037ce10b781e189adaa7b4c.zip qemu-ca853813f7b5180a2037ce10b781e189adaa7b4c.tar.gz qemu-ca853813f7b5180a2037ce10b781e189adaa7b4c.tar.bz2 |
vhost-user-scsi: avoid use of iscsi_ namespace
It is confusing and could easily conflict with future versions.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/vhost-user-scsi/vhost-user-scsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/vhost-user-scsi/vhost-user-scsi.c b/contrib/vhost-user-scsi/vhost-user-scsi.c index fdd6014..c7f9d82 100644 --- a/contrib/vhost-user-scsi/vhost-user-scsi.c +++ b/contrib/vhost-user-scsi/vhost-user-scsi.c @@ -247,7 +247,7 @@ struct scsi_task { /** libiscsi integration **/ -static int iscsi_add_lun(VusIscsiLun *lun, char *iscsi_uri) +static int vus_iscsi_add_lun(VusIscsiLun *lun, char *iscsi_uri) { struct iscsi_url *iscsi_url; struct iscsi_context *iscsi_ctx; @@ -703,7 +703,7 @@ int main(int argc, char **argv) } vdev_scsi = vdev_scsi_new(sock); - if (iscsi_add_lun(&vdev_scsi->lun, iscsi_uri) != 0) { + if (vus_iscsi_add_lun(&vdev_scsi->lun, iscsi_uri) != 0) { goto err; } |