fuzz: Don't overload meaning of reset()

This function is for really for the transport layer to trigger a device
reset. Instead name it appropriately for the fuzzing specific use case.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2022-09-22 09:13:15 +01:00
committed by Bo Chen
parent c98bd2fd4a
commit 194b59f44b
12 changed files with 37 additions and 10 deletions

View File

@@ -537,6 +537,11 @@ impl Block {
);
self.writeback.store(writeback, Ordering::Release);
}
#[cfg(fuzzing)]
pub fn wait_for_epoll_threads(&mut self) {
self.common.wait_for_epoll_threads();
}
}
impl Drop for Block {