Properly protect already-allocated file list
[fio.git] / filehash.h
index a89a91f81d8d2ce6941deada5c02291df63ca6d2..f316b208481c902d010e707f6f6ceb4e602a209a 100644 (file)
@@ -4,8 +4,11 @@
 extern unsigned int file_hash_size;
 
 extern void file_hash_init(void *);
+extern void file_hash_exit(void);
 extern struct fio_file *lookup_file_hash(const char *);
 extern struct fio_file *add_file_hash(struct fio_file *);
 extern void remove_file_hash(struct fio_file *);
+extern void fio_file_hash_lock(void);
+extern void fio_file_hash_unlock(void);
 
 #endif