diff options
author | Csaba Henk <csaba@gluster.com> | 2010-10-04 17:57:59 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-10-05 03:42:48 -0700 |
commit | 3f89342de32f214cdb9d641c402954ae9345af71 (patch) | |
tree | 7e79dd04150e5138b40c359692eb933b187d62d2 /xlators/mgmt/glusterd/src/glusterd-op-sm.c | |
parent | 6658fdde8f6e328e232d9d40067df8ae4b16e8b2 (diff) |
volgen: add interface to complete option names from specifier (after-dot) part
Signed-off-by: Csaba Henk <csaba@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 1750 (clean up volgen)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1750
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-op-sm.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-op-sm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c index b43b88a3bf7..26e23e9fc62 100644 --- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c +++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c @@ -1092,7 +1092,7 @@ glusterd_op_stage_set_volume (gd1_mgmt_stage_op_req *req) if (ret) break; - exists = glusterd_check_option_exists(key); + exists = glusterd_check_option_exists (key, NULL); if (exists != 1) { gf_log ("", GF_LOG_ERROR, "Option with name: %s " @@ -2850,7 +2850,7 @@ _delete_reconfig_opt (dict_t *this, char *key, data_t *value, void *data) int exists = 0; - exists = glusterd_check_option_exists(key); + exists = glusterd_check_option_exists (key, NULL); if (exists == 1) { gf_log ("", GF_LOG_DEBUG, "deleting dict with key=%s,value=%s", |