Properly protect already-allocated file list
[fio.git] / filehash.h
index 993943a0be2dd9141285e8439fd3d138bb2ceaf5..f316b208481c902d010e707f6f6ceb4e602a209a 100644 (file)
@@ -8,5 +8,7 @@ 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 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
 
 #endif