diff options
author | Raghavendra Talur <rtalur@redhat.com> | 2015-09-07 14:29:15 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2015-09-28 04:55:08 -0700 |
commit | 007bfd963240d7cf80b4f1b5f652cf142bcadb65 (patch) | |
tree | c32fe1393b9e4fd824ff2a2f8c5c9337c27b7f97 /xlators/protocol | |
parent | ecfa2edd7816abbf8fbbe43c308ddf895849e8e6 (diff) |
gfapi: transport and port are optional for glfs_set_volfile_server
Only server is the required argument for glfs_set_volfile_server
and both transport and port are optional. When glfs_set_volfile_server
is invocated multiple times, only on the first invocation we replace
port 0 with 24007 and transport NULL with "tcp".
Hence, replacing the parameters at the entry function is the right way.
Change-Id: If9f4a5f7fd9038eed140e2f47167a8fd11acc2f6
BUG: 1260561
Signed-off-by: Raghavendra Talur <rtalur@redhat.com>
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
Reviewed-on: http://review.gluster.org/12114
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators/protocol')
0 files changed, 0 insertions, 0 deletions