s3:smbd: keep 'num_files' and 'files' directly under smbd_server_connection
[ira/wip.git] / source3 / smbd / globals.h
index a47879fb0e57c3a80c7169d81251eaa4d741cdce..bfa649b98bc877aa1f3a6e0a472d047311a39668 100644 (file)
@@ -458,10 +458,11 @@ struct smbd_server_connection {
        size_t num_connections;
        struct connection_struct *connections;
 
+       size_t num_files;
        struct files_struct *files;
+
        struct bitmap *file_bmap;
        int real_max_open_files;
-       int files_used;
        struct fsp_singleton_cache fsp_fi_cache;
        unsigned long file_gen_counter;
        int first_file;