From d3a8a50a9da28cd12277ffac25767a790761d32f Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Wed, 1 Aug 2012 12:09:38 +0530 Subject: mount/fuse: initialize entry and negative timeouts correctly. There was a typo which resulted in updation of attribute_timeout for both options. Change-Id: I6e212eaf3570cadde88d2a2c3b44121c893c9427 BUG: 804592 Signed-off-by: Raghavendra G Reviewed-on: http://review.gluster.com/3763 Tested-by: Gluster Build System Reviewed-by: Amar Tumballi --- xlators/mount/fuse/src/fuse-bridge.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xlators/mount') diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c index 2948aae97a0..124cca14eab 100644 --- a/xlators/mount/fuse/src/fuse-bridge.c +++ b/xlators/mount/fuse/src/fuse-bridge.c @@ -4572,10 +4572,10 @@ init (xlator_t *this_xl) GF_OPTION_INIT ("attribute-timeout", priv->attribute_timeout, double, cleanup_exit); - GF_OPTION_INIT ("entry-timeout", priv->attribute_timeout, double, + GF_OPTION_INIT ("entry-timeout", priv->entry_timeout, double, cleanup_exit); - GF_OPTION_INIT ("negative-timeout", priv->attribute_timeout, double, + GF_OPTION_INIT ("negative-timeout", priv->negative_timeout, double, cleanup_exit); GF_OPTION_INIT ("client-pid", priv->client_pid, int32, cleanup_exit); -- cgit