mirror of
https://github.com/ceph/ceph
synced 2024-12-28 22:43:29 +00:00
Merge pull request #52714 from cbodley/wip-ec-clay-unit
ec: initialize lost_chunk in ErasureCodeClay Reviewed-by: Neha Ojha <nojha@redhat.com>
This commit is contained in:
commit
51a2343187
@ -507,7 +507,7 @@ int ErasureCodeClay::repair_one_lost_chunk(map<int, bufferlist> &recovered_data,
|
||||
}
|
||||
}
|
||||
|
||||
int lost_chunk;
|
||||
int lost_chunk = 0;
|
||||
int count = 0;
|
||||
for ([[maybe_unused]] auto& [node, bl] : recovered_data) {
|
||||
lost_chunk = node;
|
||||
|
Loading…
Reference in New Issue
Block a user