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>
This commit is contained in:
Marc-André Lureau 2017-08-17 16:34:38 +02:00
parent ade9ab222e
commit ca853813f7
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}