commit | b9fbcf2104ab79127825e0c23ba0a147ec076087 | [log] [tgz] |
---|---|---|
author | Shaozhi Shawn Ye <yeshao@google.com> | Wed Sep 10 09:05:17 2008 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Wed Sep 10 09:05:17 2008 +0200 |
tree | c0749007f2f6bea665bbd3cf77a915fe5427dfaa | |
parent | a7ba8c5f4c0f9fe117d529c1ad6686b2070bae51 [diff] [blame] |
filehash: Filehash should be removed after the file is closed Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/filesetup.c b/filesetup.c index 07c24be..464c0f2 100644 --- a/filesetup.c +++ b/filesetup.c
@@ -649,6 +649,7 @@ } td_io_close_file(td, f); + remove_file_hash(f); sfree(f->file_name); f->file_name = NULL;