]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: remove auid session member
authorSage Weil <sage@redhat.com>
Sun, 12 Aug 2018 20:03:23 +0000 (15:03 -0500)
committerSage Weil <sage@redhat.com>
Fri, 31 Aug 2018 20:54:58 +0000 (15:54 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/AuthMonitor.cc
src/mon/Session.h

index 33c3f2bc2d971980b989514a5c456dba1ca95641..04f5f17ac4482f34bfe477ffee6a681a2159e585 100644 (file)
@@ -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;
     }
index efa227b2f83a128a05694c9fc97f17ecd814c64c..d455263ced8ab7c0700901d7489f10b28bf57bcb 100644 (file)
@@ -51,7 +51,6 @@ struct MonSession : public RefCountedObject {
   xlist<MonSession*>::item item;
   set<uint64_t> routed_request_tids;
   MonCap caps;
-  uint64_t auid = 0;
   uint64_t global_id = 0;
 
   bool authenticated = false;  ///< true if auth handshake is complete