diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-03-03 05:43:31 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-03-06 21:26:05 +0100 |
commit | f6b6e963f65c39a0b34b5d23919c0c50e3e81168 (patch) | |
tree | 723f3ce852a5b5d6eb110db958a6660eb27239ce /source3/smbd/globals.h | |
parent | 6ce72a01abfcffd19313b50e15976582ae84c61c (diff) | |
download | samba-f6b6e963f65c39a0b34b5d23919c0c50e3e81168.tar.gz samba-f6b6e963f65c39a0b34b5d23919c0c50e3e81168.tar.bz2 samba-f6b6e963f65c39a0b34b5d23919c0c50e3e81168.zip |
s3:smbd: keep 'num_connections' and 'connections' directly under smbd_server_connection
The plan is to have connection_struct as some kind of low level
abstraction for a smb1/smb2 tree connects, that can be used by SMB_VFS modules.
metze
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r-- | source3/smbd/globals.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index b927e16053..a47879fb0e 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -455,6 +455,9 @@ struct smbd_server_connection { size_t num_users; struct user_struct *users; + size_t num_connections; + struct connection_struct *connections; + struct files_struct *files; struct bitmap *file_bmap; int real_max_open_files; @@ -463,9 +466,6 @@ struct smbd_server_connection { unsigned long file_gen_counter; int first_file; - /* number of open connections (tcons) */ - int num_tcons_open; - struct pending_message_list *deferred_open_queue; @@ -541,7 +541,6 @@ struct smbd_server_connection { uint16_t next_vuid; } sessions; struct { - connection_struct *Connections; /* number of open connections */ struct bitmap *bmap; } tcons; |