projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a7ba8c5
)
filehash: Filehash should be removed after the file is closed
author
Shaozhi Shawn Ye
<yeshao@google.com>
Wed, 10 Sep 2008 07:05:17 +0000
(09:05 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Wed, 10 Sep 2008 07:05:17 +0000
(09:05 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
filesetup.c
patch
|
blob
|
blame
|
history
diff --git
a/filesetup.c
b/filesetup.c
index 07c24beb00f51f839778cd6e04e4d5b84c39f562..464c0f2018f51672f88cdd2bd3ced44c8bceda4e 100644
(file)
--- 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);
}
td_io_close_file(td, f);
+ remove_file_hash(f);
sfree(f->file_name);
f->file_name = NULL;
sfree(f->file_name);
f->file_name = NULL;