s3: Move "Files" to smbd_server_connection
[mat/samba.git] / source3 / smbd / globals.h
index f4fb4f0b404f748a2f09d328bab11523b47db872..46c08222dacd55a5a3a651a319d93b709c75c5d1 100644 (file)
@@ -38,7 +38,6 @@ extern unsigned int allocated_write_caches;
 
 extern int real_max_open_files;
 extern struct bitmap *file_bmap;
-extern files_struct *Files;
 extern int files_used;
 /* A singleton cache to speed up searching by dev/inode. */
 struct fsp_singleton_cache {
@@ -463,6 +462,7 @@ struct smbd_server_connection {
        } nbt;
        bool using_smb2;
        int trans_num;
+       struct files_struct *files;
        struct {
                struct fd_event *fde;