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

@@ -88,7 +88,7 @@ fuzz_target!(|bytes| {
.ok();
// Wait for the events to finish and block device worker thread to return
block.reset();
block.wait_for_epoll_threads();
});
fn memfd_create(name: &ffi::CStr, flags: u32) -> Result<RawFd, io::Error> {