summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaushal M <kaushal@redhat.com>2012-03-19 15:13:14 +0530
committerVijay Bellur <vijay@gluster.com>2012-03-19 05:47:41 -0700
commita77c4a7954df0f0e3d075895039e66eb4361562b (patch)
tree30850980eb238474711acb9abb8bd84f05a90672
parent028936e2dc544158011eb32ad1629eeed75a42e9 (diff)
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 <kaushal@redhat.com> Reviewed-on: http://review.gluster.com/2976 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amarts@redhat.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
-rw-r--r--xlators/features/quota/src/quota.c2
1 files changed, 1 insertions, 1 deletions
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 "