From 22a79cd791a5d8baa3c623673ff7bd0bb62564e4 Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Tue, 6 Jul 2010 01:26:38 +0000 Subject: glusterfsd: Handle setting entry-timeout to 0 Signed-off-by: Vijay Bellur Signed-off-by: Anand V. Avati BUG: 1034 (rename() is not atomic) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1034 --- glusterfsd/src/glusterfsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'glusterfsd') diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c index 13217836c90..3e0947fbb2b 100644 --- a/glusterfsd/src/glusterfsd.c +++ b/glusterfsd/src/glusterfsd.c @@ -220,7 +220,7 @@ create_fuse_mount (glusterfs_ctx_t *ctx) if (cmd_args->fuse_attribute_timeout >= 0) ret = dict_set_double (master->options, ZR_ATTR_TIMEOUT_OPT, cmd_args->fuse_attribute_timeout); - if (cmd_args->fuse_entry_timeout) + if (cmd_args->fuse_entry_timeout >= 0) ret = dict_set_double (master->options, ZR_ENTRY_TIMEOUT_OPT, cmd_args->fuse_entry_timeout); -- cgit