]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: Fix log output in FileJournal::read_entry() coming from do_read_entry()
authorDavid Zafman <dzafman@redhat.com>
Fri, 20 Feb 2015 04:17:33 +0000 (20:17 -0800)
committerDavid Zafman <dzafman@redhat.com>
Wed, 13 May 2015 20:09:12 +0000 (13:09 -0700)
Signed-off-by: David Zafman <dzafman@redhat.com>
src/os/FileJournal.cc

index 5087589afe24ee92a41ac83add2b70343ad9f446..136de61d0ff031154e92a037c90b62c5a737529b 100644 (file)
@@ -1834,7 +1834,6 @@ bool FileJournal::read_entry(
     }
   }
 
-  stringstream errss;
   if (seq && seq < header.committed_up_to) {
     derr << "Unable to read past sequence " << seq
         << " but header indicates the journal has committed up through "
@@ -1848,7 +1847,7 @@ bool FileJournal::read_entry(
     }
   }
 
-  dout(25) << errss.str() << dendl;
+  dout(25) << ss.str() << dendl;
   dout(2) << "No further valid entries found, journal is most likely valid"
          << dendl;
   return false;