]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tools: update naming s/handle_mds_map/handle_fs_map/
authorJohn Spray <john.spray@redhat.com>
Sat, 12 Mar 2016 18:17:50 +0000 (18:17 +0000)
committerJohn Spray <john.spray@redhat.com>
Wed, 16 Mar 2016 01:17:17 +0000 (01:17 +0000)
Signed-off-by: John Spray <john.spray@redhat.com>
src/tools/cephfs/MDSUtility.cc
src/tools/cephfs/MDSUtility.h

index f99ddb4867274f584e50da571d32c5aa3239908e..eb61915ca5ee9ed1587c55f23872ec6c1c3f1aed 100644 (file)
@@ -131,7 +131,7 @@ bool MDSUtility::ms_dispatch(Message *m)
    Mutex::Locker locker(lock);
    switch (m->get_type()) {
    case CEPH_MSG_FS_MAP:
-     handle_mds_map((MFSMap*)m);
+     handle_fs_map((MFSMap*)m);
      break;
    case CEPH_MSG_OSD_MAP:
      break;
@@ -142,7 +142,7 @@ bool MDSUtility::ms_dispatch(Message *m)
 }
 
 
-void MDSUtility::handle_mds_map(MFSMap* m)
+void MDSUtility::handle_fs_map(MFSMap* m)
 {
   *fsmap = m->get_fsmap();
   if (waiting_for_mds_map) {
index 4d233c9b730a9ebc4a2e7589b8adbee275f0027a..0f7f80acc7bc8f8e45ab2bbd04142ff14d282855 100644 (file)
@@ -46,7 +46,7 @@ public:
   MDSUtility();
   ~MDSUtility();
 
-  void handle_mds_map(MFSMap* m);
+  void handle_fs_map(MFSMap* m);
   bool ms_dispatch(Message *m);
   bool ms_handle_reset(Connection *con) { return false; }
   void ms_handle_remote_reset(Connection *con) {}