Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Jun 18, 2021

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

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:

filehash.c +1 -3
index b55ab734..71ec7b18 100644
@@ -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;