From 922fea7ed671e05123e4576700f956a37541f749 Mon Sep 17 00:00:00 2001 From: John Spray Date: Tue, 24 Nov 2015 17:48:14 +0000 Subject: [PATCH] client: s/close_sessions/_close_sessions/ Signed-off-by: John Spray --- src/client/Client.cc | 6 +++--- src/client/Client.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client/Client.cc b/src/client/Client.cc index 3ccffa6ba7665..ac8f46a13e2de 100644 --- a/src/client/Client.cc +++ b/src/client/Client.cc @@ -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; diff --git a/src/client/Client.h b/src/client/Client.h index 4c3467003fc36..9a282762b2284 100644 --- a/src/client/Client.h +++ b/src/client/Client.h @@ -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); -- 2.39.5