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-store.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-store.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-store.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-store.c b/xlators/mgmt/glusterd/src/glusterd-store.c index 351f2bf1a2b..30f0514a9d5 100644 --- a/xlators/mgmt/glusterd/src/glusterd-store.c +++ b/xlators/mgmt/glusterd/src/glusterd-store.c @@ -1036,7 +1036,7 @@ glusterd_store_retrieve_volume (char *volname) gf_log ("", GF_LOG_WARNING, "failed to parse uuid"); } else { - exists = glusterd_check_option_exists (key); + exists = glusterd_check_option_exists (key, NULL); if (exists == -1) { ret = -1; goto out; @@ -1148,7 +1148,7 @@ void _setopts(dict_t *this, char *key, data_t *value, void *data) if (!value || !value->data) return; - exists = glusterd_check_option_exists (key); + exists = glusterd_check_option_exists (key, NULL); if (exists == 1) gf_log ("", GF_LOG_DEBUG, "Storing in volinfo:key= %s, val=%s", key, value->data); |