From: Sage Weil Date: Sun, 12 Aug 2018 20:03:23 +0000 (-0500) Subject: mon: remove auid session member X-Git-Tag: v14.0.1~431^2~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6120a1467b4ea26b1ba60f1efc8ee093f5f88241;p=ceph.git mon: remove auid session member Signed-off-by: Sage Weil --- diff --git a/src/mon/AuthMonitor.cc b/src/mon/AuthMonitor.cc index 33c3f2bc2d9..04f5f17ac44 100644 --- a/src/mon/AuthMonitor.cc +++ b/src/mon/AuthMonitor.cc @@ -636,7 +636,6 @@ bool AuthMonitor::prep_auth(MonOpRequestRef op, bool paxos_writable) } try { - uint64_t auid = 0; if (start) { // new session proto = s->auth_handler->start_session(entity_name, indata, response_bl, caps_info); @@ -663,7 +662,6 @@ bool AuthMonitor::prep_auth(MonOpRequestRef op, bool paxos_writable) str.clear(); } s->caps.parse(str, NULL); - s->auid = auid; s->authenticated = true; finished = true; } diff --git a/src/mon/Session.h b/src/mon/Session.h index efa227b2f83..d455263ced8 100644 --- a/src/mon/Session.h +++ b/src/mon/Session.h @@ -51,7 +51,6 @@ struct MonSession : public RefCountedObject { xlist::item item; set routed_request_tids; MonCap caps; - uint64_t auid = 0; uint64_t global_id = 0; bool authenticated = false; ///< true if auth handshake is complete