diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-05 01:57:03 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-05 01:57:03 +0000 |
commit | 93bbfce02b4ad3f51cef9b057a3959f4e091529f (patch) | |
tree | 74ac879bfe6692191144101a5683da539c539ce9 /source3/smbwrapper | |
parent | 0531f4640a7a0154e35af8146ed46e47c5742574 (diff) | |
download | samba-93bbfce02b4ad3f51cef9b057a3959f4e091529f.tar.gz samba-93bbfce02b4ad3f51cef9b057a3959f4e091529f.tar.bz2 samba-93bbfce02b4ad3f51cef9b057a3959f4e091529f.zip |
added a function set_maxfiles() to set our file rlimit to the max
possible and return the max.
(This used to be commit 7a7b5ee1689b6be57752d176c7b77a2f1b453486)
Diffstat (limited to 'source3/smbwrapper')
-rw-r--r-- | source3/smbwrapper/smbw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbwrapper/smbw.c b/source3/smbwrapper/smbw.c index e76b42692e..633e63ef8d 100644 --- a/source3/smbwrapper/smbw.c +++ b/source3/smbwrapper/smbw.c @@ -87,6 +87,8 @@ void smbw_init(void) DEBUG(4,("Initial cwd from getwd is %s\n", smb_cwd)); } smbw_busy--; + + set_maxfiles(); } /***************************************************** |