The following changes since commit a59b12d2a5eb92c1128a5d8ebcd03b1831962ce5: t/zbd: update test case 42 (2021-06-14 08:54:56 -0600) are available in the Git repository at: git://git.kernel.dk/fio.git master for you to fetch changes up to afa37b56c6637967180e4409adbb682b2ce16bcb: filehash: ignore hashed file with fd == -1 (2021-06-17 10:55:20 -0600) ---------------------------------------------------------------- Jens Axboe (1): filehash: ignore hashed file with fd == -1 filehash.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- Diff of recent changes: diff --git a/filehash.c b/filehash.c index b55ab734..71ec7b18 100644 --- a/filehash.c +++ b/filehash.c @@ -60,10 +60,8 @@ static struct fio_file *__lookup_file_hash(const char *name) if (!f->file_name) continue; - if (!strcmp(f->file_name, name)) { - assert(f->fd != -1); + if (!strcmp(f->file_name, name)) return f; - } } return NULL;