diff --git a/fuzz/fuzz_targets/block.rs b/fuzz/fuzz_targets/block.rs index 5df66fdd0..7c5d73574 100644 --- a/fuzz/fuzz_targets/block.rs +++ b/fuzz/fuzz_targets/block.rs @@ -114,6 +114,8 @@ fuzz_target!(|bytes| { queue_evt.write(77).unwrap(); // Rings the doorbell, any byte will do. wait_queue_event_processed(queue_evt); + + block.reset(); // Ensure the virtio-block device thread is killed and joined }); fn read_u64(readable: &mut T) -> u64 {