]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ReplicatedPG: src_obcs can now be empty
authorSamuel Just <sam.just@inktank.com>
Tue, 29 Oct 2013 06:35:00 +0000 (23:35 -0700)
committerSamuel Just <sam.just@inktank.com>
Tue, 29 Oct 2013 06:35:00 +0000 (23:35 -0700)
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/ReplicatedPG.h

index 2d1cd5a2dfcc6b19ba9e3e3916701d893b799cb0..2852cf40d361933a46ec75548e60db405012a925 100644 (file)
@@ -473,7 +473,6 @@ public:
     void put() {
       assert(nref > 0);
       if (--nref == 0) {
-       assert(src_obc.empty());
        delete ctx; // must already be unlocked
        delete this;
        //generic_dout(0) << "deleting " << this << dendl;