s3/vfs_glusterfs_fuse: Dynamically determine NAME_MAX
authorAnoop C S <anoopcs@redhat.com>
Thu, 25 Apr 2019 11:12:01 +0000 (16:42 +0530)
committerGünther Deschner <gd@samba.org>
Fri, 26 Apr 2019 12:04:21 +0000 (12:04 +0000)
commite28d172b00cadf492c22bd892e2dda3bf2fe2d70
treee40a15089a8e20a3d709f8cef27b5a7f83132ade
parent8e3a042eb9e502821b147f1bbb2d98d59f17a095
s3/vfs_glusterfs_fuse: Dynamically determine NAME_MAX

This allows the vfs_glusterfs_fuse build to complete on AIX.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13872

Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_glusterfs_fuse.c