From d9f94b55f987805481c41d1912a2b1a97ef962d6 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sat, 7 Nov 2009 21:05:32 -0800 Subject: [PATCH] crushtool: small fix --- src/crushtool.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crushtool.cc b/src/crushtool.cc index 6665be2005692..af1095ce60771 100644 --- a/src/crushtool.cc +++ b/src/crushtool.cc @@ -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; -- 2.39.5