]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
append_log: use remove_snap_mapped_object
authorSamuel Just <sjust@redhat.com>
Tue, 27 Jan 2015 02:31:26 +0000 (18:31 -0800)
committerSamuel Just <sjust@redhat.com>
Fri, 30 Jan 2015 19:33:25 +0000 (11:33 -0800)
Backport: giant, firefly
Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/PG.cc

index dc39f9f304197a0a02b0966bbc8329f97c7374e0..21f0108403ad9804091e2358c5bcbb339e57da7e 100644 (file)
@@ -2886,7 +2886,9 @@ void PG::append_log(
     // degraded objects
     if (!transaction_applied) {
       if (p->is_delete())
-       t.remove(coll, p->soid);
+       remove_snap_mapped_object(
+         t,
+         p->soid);
 
       assert(
        p->soid > info.last_backfill ||