]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
PG::add_log_entry: no need to 0 offset in append_log
authorSamuel Just <sjust@redhat.com>
Thu, 11 Dec 2014 19:22:16 +0000 (11:22 -0800)
committerSamuel Just <sjust@redhat.com>
Thu, 22 Jan 2015 21:11:50 +0000 (13:11 -0800)
No longer used.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/PG.cc

index e0163609ac7717546456d98d4576bd5de347daec..2b52b4c23f76234a03971376a6b3f95f86190317 100644 (file)
@@ -2881,7 +2881,6 @@ void PG::append_log(
   for (vector<pg_log_entry_t>::iterator p = logv.begin();
        p != logv.end();
        ++p) {
-    p->offset = 0;
     add_log_entry(*p, keys[p->get_key_name()]);
   }