]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
client: s/close_sessions/_close_sessions/ 6269/head
authorJohn Spray <john.spray@redhat.com>
Tue, 24 Nov 2015 17:48:14 +0000 (17:48 +0000)
committerJohn Spray <john.spray@redhat.com>
Tue, 24 Nov 2015 17:48:14 +0000 (17:48 +0000)
Signed-off-by: John Spray <john.spray@redhat.com>
src/client/Client.cc
src/client/Client.h

index 3ccffa6ba766550aa16f45136ce6b8cb0ada3f30..ac8f46a13e2de180596a363d16edbad6df79a23f 100644 (file)
@@ -557,7 +557,7 @@ void Client::shutdown()
   // If we were not mounted, but were being used for sending
   // MDS commands, we may have sessions that need closing.
   client_lock.Lock();
-  close_sessions();
+  _close_sessions();
   client_lock.Unlock();
 
   cct->_conf->remove_observer(this);
@@ -5106,7 +5106,7 @@ int Client::mount(const std::string &mount_root, bool require_mds)
 
 // UNMOUNT
 
-void Client::close_sessions()
+void Client::_close_sessions()
 {
   while (!mds_sessions.empty()) {
     // send session closes!
@@ -5208,7 +5208,7 @@ void Client::unmount()
     traceout.close();
   }
 
-  close_sessions();
+  _close_sessions();
 
   mounted = false;
 
index 4c3467003fc361538ea4c36b17bedcfb37844231..9a282762b2284cf56590236180eb8191fea76e7b 100644 (file)
@@ -534,7 +534,7 @@ protected:
    */
   void _handle_full_flag(int64_t pool);
 
-  void close_sessions();
+  void _close_sessions();
 
  public:
   void set_filer_flags(int flags);