mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-02 22:41:07 +00:00
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:
parent
ade9ab222e
commit
ca853813f7
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue