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
					
				@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user