summaryrefslogtreecommitdiffstats
path: root/source/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1999-02-05 01:59:08 +0000
committerJeremy Allison <jra@samba.org>1999-02-05 01:59:08 +0000
commit8159f2ae21ec35b8d9d0045d14099062cf51c368 (patch)
treefbf2afd6005f95683b4146124c222f99395ba622 /source/include
parentf285470006ad0219970f3046fc5c426328b7ebb6 (diff)
downloadsamba-8159f2ae21ec35b8d9d0045d14099062cf51c368.tar.gz
samba-8159f2ae21ec35b8d9d0045d14099062cf51c368.tar.xz
samba-8159f2ae21ec35b8d9d0045d14099062cf51c368.zip
Directory tidyups to help me track any problems.
Upped MAX_OPEN_DIRECTORIES to 256. Ensured new directory handles are only allocated between 255 - MAX. Stopped re-open of a directory about to be closed. Log a message if a directory is to be closed and the bitmap is not set. Jeremy.
Diffstat (limited to 'source/include')
-rw-r--r--source/include/local.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/include/local.h b/source/include/local.h
index 92288a20b80..e81a8d4dbf0 100644
--- a/source/include/local.h
+++ b/source/include/local.h
@@ -32,7 +32,7 @@
/* max number of directories open at once */
/* note that with the new directory code this no longer requires a
file handle per directory, but large numbers do use more memory */
-#define MAX_OPEN_DIRECTORIES 64
+#define MAX_OPEN_DIRECTORIES 256
/* max number of directory handles */
/* As this now uses the bitmap code this can be