summaryrefslogtreecommitdiff
path: root/source3/smbd/files.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-12-02 10:01:14 -0800
committerJeremy Allison <jra@samba.org>2009-12-02 10:01:14 -0800
commitb6fdecd11210a3d2ff803bdc315aacd9f8b445a1 (patch)
treef182933a4e5e381d402a1a266d980d0182e58d58 /source3/smbd/files.c
parent5f60855ba2eb822dcb867378ff09278c42931b89 (diff)
downloadsamba-b6fdecd11210a3d2ff803bdc315aacd9f8b445a1.tar.gz
samba-b6fdecd11210a3d2ff803bdc315aacd9f8b445a1.tar.bz2
samba-b6fdecd11210a3d2ff803bdc315aacd9f8b445a1.zip
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.
Diffstat (limited to 'source3/smbd/files.c')
-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 2bc5ba6816..455666f8df 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();