]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ReplicatedPG: pull() should return PULL_NONE, not false
authorSamuel Just <samuel.just@dreamhost.com>
Tue, 14 Feb 2012 20:56:32 +0000 (12:56 -0800)
committerSamuel Just <samuel.just@dreamhost.com>
Tue, 14 Feb 2012 20:56:32 +0000 (12:56 -0800)
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
src/osd/ReplicatedPG.cc

index a656f16dae83ac97f89f46610c031f4b641e0723..95d06f60d4b48c3ca0f3c921d01690d61d5b3f4f 100644 (file)
@@ -3994,7 +3994,7 @@ int ReplicatedPG::pull(const hobject_t& soid, eversion_t v)
     if (missing.is_missing(head)) {
       if (pulling.count(head)) {
        dout(10) << " missing but already pulling snapdir " << head << dendl;
-       return false;
+       return PULL_NONE;
       } else {
        int r = pull(head, missing.missing[head].need);
        if (r != PULL_NONE)