From 5e31894fbda74a524e1fe30d26f7ed82a77eb5ff Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Tue, 19 Nov 2013 23:45:32 -0800 Subject: mount/fuse: handle --gid-timeout=0 properly Fix the bug which was using the timeout value as a flag to indicate if it was set (and hence would fail when timeout=0 would evaluate as False) Change-Id: Ie9a8f28d35603458cdac26c9a4e0343e7eda7344 BUG: 1032438 Signed-off-by: Anand Avati Reviewed-on: http://review.gluster.org/6308 Reviewed-by: Raghavendra Talur Reviewed-by: Harshavardhana Tested-by: Gluster Build System --- libglusterfs/src/glusterfs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libglusterfs/src') diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h index a2fd48db570..d8c7060f7ef 100644 --- a/libglusterfs/src/glusterfs.h +++ b/libglusterfs/src/glusterfs.h @@ -340,6 +340,7 @@ struct _cmd_args { int mac_compat; int fopen_keep_cache; int gid_timeout; + char gid_timeout_set; int aux_gfid_mount; struct list_head xlator_options; /* list of xlator_option_t */ -- cgit