aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/ceph/crush/mapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ceph/crush/mapper.c b/net/ceph/crush/mapper.c
index 96c8a58937db..cbd06a91941c 100644
--- a/net/ceph/crush/mapper.c
+++ b/net/ceph/crush/mapper.c
@@ -392,7 +392,7 @@ static int crush_choose(const struct crush_map *map,
392 } 392 }
393 393
394 reject = 0; 394 reject = 0;
395 if (recurse_to_leaf) { 395 if (!collide && recurse_to_leaf) {
396 if (item < 0) { 396 if (item < 0) {
397 if (crush_choose(map, 397 if (crush_choose(map,
398 map->buckets[-1-item], 398 map->buckets[-1-item],