summaryrefslogtreecommitdiffstats
path: root/xlators/mount/fuse
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2012-08-01 12:09:38 +0530
committerAnand Avati <avati@redhat.com>2012-08-01 12:03:12 -0700
commitd3a8a50a9da28cd12277ffac25767a790761d32f (patch)
treef6d9032591e9851ce8c842234bbfd014b89d7ecd /xlators/mount/fuse
parent5070aa3973066ba7347b14b4b993dcde11e08165 (diff)
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 <raghavendra@gluster.com> Reviewed-on: http://review.gluster.com/3763 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'xlators/mount/fuse')
-rw-r--r--xlators/mount/fuse/src/fuse-bridge.c4
1 files changed, 2 insertions, 2 deletions
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);