diff options
author | Volker Lendecke <vl@samba.org> | 2010-09-27 06:06:02 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-09-28 07:36:18 +0200 |
commit | 49b4d2e652c189fff2fa4b3a94aed2ba0477cc76 (patch) | |
tree | 2a8df0068429f268d79dbe3e2ff87118fc479863 /source3/smbd/globals.h | |
parent | d26d79b6401783449ca7d38005a59938325d1995 (diff) | |
download | samba-49b4d2e652c189fff2fa4b3a94aed2ba0477cc76.tar.gz samba-49b4d2e652c189fff2fa4b3a94aed2ba0477cc76.tar.bz2 samba-49b4d2e652c189fff2fa4b3a94aed2ba0477cc76.zip |
s3: Remove some remaining files.c globals to sconn
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r-- | source3/smbd/globals.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index 46c08222da..81e7f84b29 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -36,17 +36,11 @@ extern bool dfree_broken; /* how many write cache buffers have been allocated */ extern unsigned int allocated_write_caches; -extern int real_max_open_files; -extern struct bitmap *file_bmap; -extern int files_used; /* A singleton cache to speed up searching by dev/inode. */ struct fsp_singleton_cache { files_struct *fsp; struct file_id id; }; -extern struct fsp_singleton_cache fsp_fi_cache; -extern unsigned long file_gen_counter; -extern int first_file; extern const struct mangle_fns *mangle_fns; @@ -462,7 +456,15 @@ struct smbd_server_connection { } nbt; bool using_smb2; int trans_num; + 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; + struct { struct fd_event *fde; |