diff options
Diffstat (limited to 'src/mds/MDLog.cc')
-rw-r--r-- | src/mds/MDLog.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds/MDLog.cc b/src/mds/MDLog.cc index b77c013b14a..cb1f9b558b2 100644 --- a/src/mds/MDLog.cc +++ b/src/mds/MDLog.cc @@ -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; |