summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-19 01:03:52 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-19 01:03:52 +0000
commit48a3c122791a8fa17809c6df8afbfbe9f44a838a (patch)
tree3f2eb45be5d385a0985b68f02d73eefdf747fc98 /source3
parentf08565a83429df92e42935dc9977436f59b03845 (diff)
downloadsamba-48a3c122791a8fa17809c6df8afbfbe9f44a838a.tar.gz
samba-48a3c122791a8fa17809c6df8afbfbe9f44a838a.tar.bz2
samba-48a3c122791a8fa17809c6df8afbfbe9f44a838a.zip
removed an incorrect comment
(This used to be commit 5abdb70e2a5cda2df444dfe5a9cdcb751be75ca8)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/util.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 8660e22e57..b49369a582 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -4857,10 +4857,6 @@ int set_maxfiles(int requested_max)
#if (defined(HAVE_GETRLIMIT) && defined(RLIMIT_NOFILE))
struct rlimit rlp;
getrlimit(RLIMIT_NOFILE, &rlp);
- /* Set the fd limit to be real_max_open_files + MAX_OPEN_FUDGEFACTOR to
- * account for the extra fd we need
- * as well as the log files and standard
- * handles etc. */
rlp.rlim_cur = MIN(requested_max,rlp.rlim_max);
setrlimit(RLIMIT_NOFILE, &rlp);
getrlimit(RLIMIT_NOFILE, &rlp);