From b3c2bbab35695a2358a4031aa05e31eb5e19c28b Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Thu, 14 Apr 2011 01:08:22 +0000 Subject: mgmt/glusterd: Handle the features/quota for quota Signed-off-by: Pranith Kumar K Signed-off-by: Anand Avati BUG: 2540 (quota enablement yields bogus client volfile) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2540 --- xlators/mgmt/glusterd/src/glusterd-volgen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/mgmt/glusterd') diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c index 08f4ca295..54221d7d9 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volgen.c +++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c @@ -166,7 +166,7 @@ static struct volopt_map_entry glusterd_volopt_map[] = { {"nfs.export-dir", "nfs/server", "!nfs-export-dir", NULL, DOC, 0}, {"nfs.disable", "nfs/server", "!nfs-disable", NULL, DOC, 0}, - {"features.quota", "features/quota", "quota", "off", NO_DOC, OPT_FLAG_FORCE}, + {"features.quota", "features/quota", "!quota", "off", NO_DOC, OPT_FLAG_FORCE}, {"features.quota", "features/marker", "quota", "off", NO_DOC, OPT_FLAG_FORCE}, {"features.limit-usage", "features/quota", "limit-set", NULL, NO_DOC, 0}, {"features.quota-timeout", "features/quota", "timeout", "0", NO_DOC, 0}, -- cgit