From b9fbcf2104ab79127825e0c23ba0a147ec076087 Mon Sep 17 00:00:00 2001 From: Shaozhi Shawn Ye Date: Wed, 10 Sep 2008 09:05:17 +0200 Subject: [PATCH] filehash: Filehash should be removed after the file is closed Signed-off-by: Jens Axboe --- filesetup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/filesetup.c b/filesetup.c index 07c24beb..464c0f20 100644 --- a/filesetup.c +++ b/filesetup.c @@ -649,6 +649,7 @@ void close_and_free_files(struct thread_data *td) } td_io_close_file(td, f); + remove_file_hash(f); sfree(f->file_name); f->file_name = NULL; -- 2.25.1