summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-12-02 10:01:14 -0800
committerKarolin Seeger <kseeger@samba.org>2009-12-08 09:15:21 +0100
commitf7796d501789c60f2475920e476f64d884962089 (patch)
tree4831fb1eff867a2af7cc3131f7d4677c7e1047c1 /source3/smbd
parenta93b08c07f1663ced9ee8bc9d811ebd17c41e17b (diff)
downloadsamba-f7796d501789c60f2475920e476f64d884962089.tar.gz
Fix bug #6837 - "Too many open files" when trying to access large number of files
from Windows 7. Original patch by me fixed up with the correct open files number by jmaggard10@hotmail.com. Jeremy. (cherry picked from commit b6fdecd11210a3d2ff803bdc315aacd9f8b445a1) (cherry picked from commit 358cca77b2e09262e7e7bd41a782f46cff63922c)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/files.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/smbd/files.c b/source3/smbd/files.c
index 2bc5ba6816e..455666f8df7 100644
--- a/source3/smbd/files.c
+++ b/source3/smbd/files.c
@@ -171,8 +171,6 @@ void file_close_pid(uint16 smbpid, int vuid)
Initialise file structures.
****************************************************************************/
-#define MAX_OPEN_FUDGEFACTOR 20
-
void file_init(void)
{
int request_max_open_files = lp_max_open_files();