Skip to content

Commit

Permalink
vhost-user-scsi: avoid use of iscsi_ namespace
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
elmarco committed Oct 10, 2017
1 parent ade9ab2 commit ca85381
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/vhost-user-scsi/vhost-user-scsi.c
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit ca85381

Please sign in to comment.