summaryrefslogtreecommitdiff
path: root/source3/smbd/globals.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-03-17 16:16:54 -0700
committerJeremy Allison <jra@samba.org>2011-03-18 01:13:53 +0100
commit066fecd315c4c6e678e1d635e6a346e357a3b7a5 (patch)
tree5dc7e2c91af230eec61374118d77e775f8dcb4c1 /source3/smbd/globals.h
parent4c77d620e6cc5ea31f4a8f0bf9c8dab81f5f1002 (diff)
downloadsamba-066fecd315c4c6e678e1d635e6a346e357a3b7a5.tar.gz
samba-066fecd315c4c6e678e1d635e6a346e357a3b7a5.tar.bz2
samba-066fecd315c4c6e678e1d635e6a346e357a3b7a5.zip
The searches struct is still being used and idled in SMB2 - move it to the global
section until we decide if we want to idle SMB2 directory handles. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Mar 18 01:13:53 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r--source3/smbd/globals.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h
index de012483a0..01be31a57f 100644
--- a/source3/smbd/globals.h
+++ b/source3/smbd/globals.h
@@ -475,6 +475,13 @@ struct smbd_server_connection {
/* number of open connections (tcons) */
int num_tcons_open;
+ /* open directory handles. */
+ struct {
+ struct bitmap *dptr_bmap;
+ struct dptr_struct *dirptrs;
+ int dirhandles_open;
+ } searches;
+
struct {
struct fd_event *fde;
@@ -549,11 +556,6 @@ struct smbd_server_connection {
struct notify_mid_map *notify_mid_maps;
struct {
- struct bitmap *dptr_bmap;
- struct dptr_struct *dirptrs;
- int dirhandles_open;
- } searches;
- struct {
/* dlink list we store pending lock records on. */
struct blocking_lock_record *blocking_lock_queue;
/* dlink list we move cancelled lock records onto. */