summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorAnoop C S <anoopcs@redhat.com>2017-09-13 14:04:52 +0530
committerJeff Darcy <jeff@pl.atyp.us>2017-09-13 16:16:33 +0000
commit3edb0c293450432abbb8d405d1bc3f6e852b604b (patch)
tree3f210c6f162c17fd70c96b4b42019efab918ec2e /xlators
parentecc5b30289be1a63e2616733a022b3a9a35f12b7 (diff)
downloadglusterfs-3edb0c293450432abbb8d405d1bc3f6e852b604b.tar.gz
glusterfs-3edb0c293450432abbb8d405d1bc3f6e852b604b.tar.xz
glusterfs-3edb0c293450432abbb8d405d1bc3f6e852b604b.zip
protocol/server: Remove duplicate dict_get_str
dict_get_str() for auth-path has been already done once within switch case for RPCSVC_EVENT_DISCONNECT inside server_rpc_notify(). Therefore this change removes the needless dict_get_str. Change-Id: Ifeb3db828328df08a1f1612a8ad8e0babace1d16 Signed-off-by: Anoop C S <anoopcs@redhat.com> Reviewed-on: https://review.gluster.org/18272 Smoke: Gluster Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Jeff Darcy <jeff@pl.atyp.us>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/protocol/server/src/server.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/xlators/protocol/server/src/server.c b/xlators/protocol/server/src/server.c
index 95bffa095d..19f261986b 100644
--- a/xlators/protocol/server/src/server.c
+++ b/xlators/protocol/server/src/server.c
@@ -631,14 +631,6 @@ server_rpc_notify (rpcsvc_t *rpc, void *xl, rpcsvc_event_t event,
}
UNLOCK (&serv_ctx->fdtable_lock);
- ret = dict_get_str (this->options, "auth-path", &auth_path);
- if (ret) {
- gf_msg (this->name, GF_LOG_WARNING, 0,
- PS_MSG_DICT_GET_FAILED,
- "failed to get auth-path");
- auth_path = NULL;
- }
-
gf_event (EVENT_CLIENT_DISCONNECT, "client_uid=%s;"
"client_identifier=%s;server_identifier=%s;"
"brick_path=%s",