]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/mds/MDLog.cc
update sources to v12.1.3
[ceph.git] / ceph / src / mds / MDLog.cc
index b77c013b14a6ddedcdabc16b2e5988d8163b94c5..cb1f9b558b24c7ad98a70334f14ca4115d369029 100644 (file)
@@ -905,7 +905,7 @@ void MDLog::_recovery_thread(MDSInternalContextBase *completion)
   // If the pointer object is not present, then create it with
   // front = default ino and back = null
   JournalPointer jp(mds->get_nodeid(), mds->mdsmap->get_metadata_pool());
-  int const read_result = jp.load(mds->objecter);
+  const int read_result = jp.load(mds->objecter);
   if (read_result == -ENOENT) {
     inodeno_t const default_log_ino = MDS_INO_LOG_OFFSET + mds->get_nodeid();
     jp.front = default_log_ino;