diff options
author | Pranith Kumar K <pranithk@gluster.com> | 2011-04-14 01:08:22 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-04-14 01:00:38 -0700 |
commit | b3c2bbab35695a2358a4031aa05e31eb5e19c28b (patch) | |
tree | 060ce13e20efa08fb2af3371bb98cf5b42a3d745 /xlators/mgmt/glusterd | |
parent | efd0f26ba8116da1148c75c950f2490dbe42ebc5 (diff) |
mgmt/glusterd: Handle the features/quota for quota
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 2540 (quota enablement yields bogus client volfile)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2540
Diffstat (limited to 'xlators/mgmt/glusterd')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c index 08f4ca29570..54221d7d94f 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}, |