]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crushtool: small fix
authorSage Weil <sage@newdream.net>
Sun, 8 Nov 2009 05:05:32 +0000 (21:05 -0800)
committerSage Weil <sage@newdream.net>
Sun, 8 Nov 2009 05:05:32 +0000 (21:05 -0800)
src/crushtool.cc

index 6665be2005692387ac283510f2a9de24f34e17ea..af1095ce607711e54575dfb810736b383c5f1ea4 100644 (file)
@@ -804,7 +804,7 @@ int main(int argc, const char **argv)
          dout(0) << "  item " << items[j] << " weight " << weights[j] << dendl;
        }
 
-       crush_bucket *b = crush_make_bucket(buckettype, type, j, items, weights);
+       crush_bucket *b = crush_make_bucket(buckettype, CRUSH_HASH_DEFAULT, type, j, items, weights);
        int id = crush_add_bucket(crush.crush, 0, b);
        rootid = id;