]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/crush/builder.c
update sources to 12.2.7
[ceph.git] / ceph / src / crush / builder.c
index f492a27d3819b98125978e3c02c156f75c480737..be8b5e24cebcac4fc24988d5b0fc35dfc1e114c4 100644 (file)
@@ -1447,7 +1447,7 @@ struct crush_choose_arg *crush_make_choose_args(struct crush_map *map, int num_p
       weights += bucket->h.size;
     }
     arg[b].weight_set = weight_set;
-    arg[b].weight_set_size = num_positions;
+    arg[b].weight_set_positions = num_positions;
     weight_set += position;
 
     memcpy(ids, bucket->h.items, sizeof(__s32) * bucket->h.size);