From f1ffd795e01ff53c7a4a724fa730dabdd8af49ed Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Wed, 3 Dec 2025 14:32:15 +0100 Subject: [PATCH] block: qcow: tests: Update combo_write_read for cluster leak fixes Freed clusters correctly have refcount=0. Remove the assertion that expected no clusters with zero refcount, as it was validating the buggy behavior. Signed-off-by: Anatol Belski --- block/src/qcow/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/block/src/qcow/mod.rs b/block/src/qcow/mod.rs index 6effc468f..4540d0e7e 100644 --- a/block/src/qcow/mod.rs +++ b/block/src/qcow/mod.rs @@ -2882,8 +2882,6 @@ mod unit_tests { assert_eq!(orig, read); } } - - assert_eq!(qcow_file.first_zero_refcount().unwrap(), None); }); }