t/io_uring: avoid null-ptr dereference in case setup_ring fails
[fio.git] / file.h
diff --git a/file.h b/file.h
index e646cf22f6b7ec184fe4fb6ab94f8fb5918cb76e..deb36e0291369ee78058a4a06e0072b50d8fb2dc 100644 (file)
--- a/file.h
+++ b/file.h
@@ -12,6 +12,7 @@
 
 /* Forward declarations */
 struct zoned_block_device_info;
+struct fdp_ruh_info;
 
 /*
  * The type of object we are working on
@@ -101,6 +102,8 @@ struct fio_file {
        uint64_t file_offset;
        uint64_t io_size;
 
+       struct fio_ruhs_info *ruhs_info;
+
        /*
         * Zoned block device information. See also zonemode=zbd.
         */
@@ -201,7 +204,6 @@ struct thread_data;
 extern void close_files(struct thread_data *);
 extern void close_and_free_files(struct thread_data *);
 extern uint64_t get_start_offset(struct thread_data *, struct fio_file *);
-extern int __must_check setup_shared_file(struct thread_data *);
 extern int __must_check setup_files(struct thread_data *);
 extern int __must_check file_invalidate_cache(struct thread_data *, struct fio_file *);
 #ifdef __cplusplus