vfs:glusterfs: preallocate result for glfs_realpath
authorMichael Adam <obnox@samba.org>
Thu, 20 Oct 2016 22:15:06 +0000 (00:15 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 21 Oct 2016 22:28:41 +0000 (00:28 +0200)
commit92a0a56c3852726e0812d260e043957c879aefa4
tree3abd0e154426f8192bc4d66343ffd7f48d095dd0
parentb9436f5348213cc2a1b7fd670854bed4e21c5ea9
vfs:glusterfs: preallocate result for glfs_realpath

This makes us independent of the allocation
method used inside glfs_realpath.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Ira Cooper <ira@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Oct 22 00:28:41 CEST 2016 on sn-devel-144
source3/modules/vfs_glusterfs.c