From a77c4a7954df0f0e3d075895039e66eb4361562b Mon Sep 17 00:00:00 2001 From: Kaushal M Date: Mon, 19 Mar 2012 15:13:14 +0530 Subject: features/quota : Fix timeout min value Change timeout min value to 0, so that default value of 0 successfully validates and mounts happen properly. Change-Id: I579c6192b97ffe2678fa95c912679b514fa7d8c0 BUG: 804509 Signed-off-by: Kaushal M Reviewed-on: http://review.gluster.com/2976 Tested-by: Gluster Build System Reviewed-by: Amar Tumballi Reviewed-by: Vijay Bellur --- xlators/features/quota/src/quota.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators') diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c index 349489b64a3..42bcc21836d 100644 --- a/xlators/features/quota/src/quota.c +++ b/xlators/features/quota/src/quota.c @@ -3155,7 +3155,7 @@ struct volume_options options[] = { {.key = {"limit-set"}}, {.key = {"timeout"}, .type = GF_OPTION_TYPE_SIZET, - .min = 1, + .min = 0, .max = 60, .default_value = "0", .description = "quota caches the directory sizes on client. Timeout " -- cgit