[Gluster-devel] [PATCH 3/3 v4] vfs_glusterfs: Samba VFS module for glusterfs

Andrew Bartlett abartlet at samba.org
Fri May 24 04:35:58 UTC 2013


On Thu, 2013-05-23 at 22:30 -0400, Anand Avati wrote:
> +static char *vfs_gluster_realpath(struct vfs_handle_struct *handle,
> +                                 const char *path)
> +{
> +       return glfs_realpath(handle->data, path, 0);
> +}
> + 

In a similar way to my other question:  How is the result of
glfs_realpath() allocated?  Google didn't find me an API doc for this.

Samba seems to assume malloc().

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org






More information about the Gluster-devel mailing list