From: Yehuda Sadeh Date: Fri, 5 Aug 2011 23:32:55 +0000 (-0700) Subject: objecter: halt compound operation only if result < 0 X-Git-Tag: v0.33~18 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=45ca94054b191f57f48d0de64b212569e5a58d57;p=ceph.git objecter: halt compound operation only if result < 0 --- diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index 383bd8bfd385..acfa139cb3fe 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -2020,7 +2020,7 @@ int ReplicatedPG::do_osd_ops(OpContext *ctx, vector& ops, obs.exists = true; } - if (result) + if (result < 0) break; } return result;