summaryrefslogtreecommitdiff
path: root/source3/smbd/globals.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-03-03 05:44:16 +0100
committerStefan Metzmacher <metze@samba.org>2012-03-06 23:04:01 +0100
commit68b840726bdcb368b1cd8245c4089e5aa33dc386 (patch)
treeeb353c72fabcdd2d68bd8b1ec839cf555e500d65 /source3/smbd/globals.h
parentf6b6e963f65c39a0b34b5d23919c0c50e3e81168 (diff)
downloadsamba-68b840726bdcb368b1cd8245c4089e5aa33dc386.tar.gz
samba-68b840726bdcb368b1cd8245c4089e5aa33dc386.tar.bz2
samba-68b840726bdcb368b1cd8245c4089e5aa33dc386.zip
s3:smbd: keep 'num_files' and 'files' directly under smbd_server_connection
The plan is to have files_struct as some kind of low level abstraction for a smb1/smb2 opens, that can be used by SMB_VFS modules. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Mar 6 23:04:01 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r--source3/smbd/globals.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h
index a47879fb0e..bfa649b98b 100644
--- a/source3/smbd/globals.h
+++ b/source3/smbd/globals.h
@@ -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;