Re: [libvirt] [PATCH 2/3] storage: Combine some duplicate code

2010-05-20 Thread Eric Blake
On 05/20/2010 01:23 PM, Cole Robinson wrote: > Volume detection in the scsi backend was duplicating code already > present in storage_backend.c. Let's drop the duplicate code. > > Also, change the shared function name to be less generic, and remove > some error squashing in the other call site. >

[libvirt] [PATCH 2/3] storage: Combine some duplicate code

2010-05-20 Thread Cole Robinson
Volume detection in the scsi backend was duplicating code already present in storage_backend.c. Let's drop the duplicate code. Also, change the shared function name to be less generic, and remove some error squashing in the other call site. Signed-off-by: Cole Robinson --- src/storage/storage_b