Revision 14899cdf block/qcow2-snapshot.c
b/block/qcow2-snapshot.c | ||
---|---|---|
288 | 288 |
if (qcow_write_snapshots(bs) < 0) |
289 | 289 |
goto fail; |
290 | 290 |
#ifdef DEBUG_ALLOC |
291 |
check_refcounts(bs); |
|
291 |
qcow2_check_refcounts(bs);
|
|
292 | 292 |
#endif |
293 | 293 |
return 0; |
294 | 294 |
fail: |
... | ... | |
332 | 332 |
goto fail; |
333 | 333 |
|
334 | 334 |
#ifdef DEBUG_ALLOC |
335 |
check_refcounts(bs); |
|
335 |
qcow2_check_refcounts(bs);
|
|
336 | 336 |
#endif |
337 | 337 |
return 0; |
338 | 338 |
fail: |
... | ... | |
369 | 369 |
return ret; |
370 | 370 |
} |
371 | 371 |
#ifdef DEBUG_ALLOC |
372 |
check_refcounts(bs); |
|
372 |
qcow2_check_refcounts(bs);
|
|
373 | 373 |
#endif |
374 | 374 |
return 0; |
375 | 375 |
} |
Also available in: Unified diff