Revision 87267753 block/qcow2-refcount.c
b/block/qcow2-refcount.c | ||
---|---|---|
367 | 367 |
} |
368 | 368 |
|
369 | 369 |
for(i = 0; i < table_size; i++) { |
370 |
cpu_to_be64s(&new_table[i]);
|
|
370 |
be64_to_cpus(&new_table[i]);
|
|
371 | 371 |
} |
372 | 372 |
|
373 | 373 |
/* Hook up the new refcount table in the qcow2 header */ |
Also available in: Unified diff