summaryrefslogtreecommitdiffstats
path: root/xlators/mount
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mount')
-rw-r--r--xlators/mount/fuse/src/fuse-bridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c
index 547e7e15c..732d97e3f 100644
--- a/xlators/mount/fuse/src/fuse-bridge.c
+++ b/xlators/mount/fuse/src/fuse-bridge.c
@@ -3401,7 +3401,7 @@ init (xlator_t *this_xl)
ret = dict_get_double (options, "attribute-timeout",
&priv->attribute_timeout);
- if (!priv->attribute_timeout)
+ if (ret != 0)
priv->attribute_timeout = 1.0; /* default */
ret = dict_get_double (options, "entry-timeout",