[libvirt] [PATCHv3 18/36] storage: gluster: Add backend to return unique storage file path

Eric Blake eblake at redhat.com
Tue Jun 3 02:28:15 UTC 2014


On 05/30/2014 02:37 AM, Peter Krempa wrote:
> Use virStorageFileSimplifyPathInternal to canonicalize gluster paths
> via a callback and use it for the unique volume path retrieval API.
> ---
>  src/storage/storage_backend_gluster.c | 81 +++++++++++++++++++++++++++++++++++
>  1 file changed, 81 insertions(+)
> 
> diff --git a/src/storage/storage_backend_gluster.c b/src/storage/storage_backend_gluster.c
> index 3db4e66..1e86383 100644
> --- a/src/storage/storage_backend_gluster.c
> +++ b/src/storage/storage_backend_gluster.c
> @@ -533,6 +533,7 @@ typedef virStorageFileBackendGlusterPriv *virStorageFileBackendGlusterPrivPtr;
> 
>  struct _virStorageFileBackendGlusterPriv {
>      glfs_t *vol;
> +    char *uid;

Once again, char *uid is misnamed (when I see uid, I think integral uid_t).

Otherwise, seems to make sense.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140602/4c5344ad/attachment-0001.sig>


More information about the libvir-list mailing list