diff options
author | Jeremy Allison <jra@samba.org> | 1999-02-05 01:59:08 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1999-02-05 01:59:08 +0000 |
commit | 8159f2ae21ec35b8d9d0045d14099062cf51c368 (patch) | |
tree | fbf2afd6005f95683b4146124c222f99395ba622 /source/include | |
parent | f285470006ad0219970f3046fc5c426328b7ebb6 (diff) | |
download | samba-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.h | 2 |
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 |