]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
objecter: halt compound operation only if result < 0
authorYehuda Sadeh <yehuda.sadeh@dreamhost.com>
Fri, 5 Aug 2011 23:32:55 +0000 (16:32 -0700)
committerYehuda Sadeh <yehuda.sadeh@dreamhost.com>
Fri, 5 Aug 2011 23:33:32 +0000 (16:33 -0700)
src/osd/ReplicatedPG.cc

index 383bd8bfd385f5d3912f91d8446e3b6a447c0c33..acfa139cb3fe796bdccb7d3a408b2a950bd197e0 100644 (file)
@@ -2020,7 +2020,7 @@ int ReplicatedPG::do_osd_ops(OpContext *ctx, vector<OSDOp>& ops,
       obs.exists = true;
     }
 
-    if (result)
+    if (result < 0)
       break;
   }
   return result;