diff options
author | shishir gowda <shishirng@gluster.com> | 2011-05-02 01:46:18 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-05-19 20:14:23 -0700 |
commit | eee2942879d61adb67c36aea58dbbe52e8ca199b (patch) | |
tree | 7fd43a61f8f8e336d948f97bcaeedd83723fcba3 /xlators/mgmt/glusterd/src/glusterd-volgen.c | |
parent | e769393b7eba8aedfd764ca3a0a519d9e3f1212e (diff) |
set: Fix incorrect nfs.rpc-auth strings in nfs_option_handler
Signed-off-by: shishir gowda <shishirng@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 2866 (volume set for nfs rpc-auth.addr* option succeeds, but vol file not updated)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2866
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volgen.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volgen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c index 3e08d6b73..89a6f8dbb 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volgen.c +++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c @@ -1434,7 +1434,7 @@ nfs_option_handler (glusterfs_graph_t *graph, if ( !volinfo || !volinfo->volname) return 0; - if (! strcmp (vme->option, "!nfs.rpc-auth-addr-allow")) { + if (! strcmp (vme->option, "!nfs.rpc-auth.addr.allow")) { ret = gf_asprintf (&aa, "rpc-auth.addr.%s.allow", volinfo->volname); @@ -1447,7 +1447,7 @@ nfs_option_handler (glusterfs_graph_t *graph, return -1; } - if (! strcmp (vme->option, "!nfs.rpc-auth-addr-reject")) { + if (! strcmp (vme->option, "!nfs.rpc-auth.addr.reject")) { ret = gf_asprintf (&aa, "rpc-auth.addr.%s.reject", volinfo->volname); |