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

Anand Avati avati at redhat.com
Fri May 24 05:35:05 UTC 2013


On 5/23/13 9:35 PM, Andrew Bartlett wrote:
> 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().
>

glfs_realpath() is malloc() based.

Avati






More information about the Gluster-devel mailing list