summaryrefslogtreecommitdiff
path: root/source3/smbwrapper/smbw.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-04 04:48:17 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-04 04:48:17 +0000
commitd71c04f927cbcbaae0708c1533748caac20ee5af (patch)
tree8d5a5aafb37aacaedba4322f1d62593354515e48 /source3/smbwrapper/smbw.h
parent57a58f592b67a0ebf482f06315b9c546590126bf (diff)
downloadsamba-d71c04f927cbcbaae0708c1533748caac20ee5af.tar.gz
samba-d71c04f927cbcbaae0708c1533748caac20ee5af.tar.bz2
samba-d71c04f927cbcbaae0708c1533748caac20ee5af.zip
use dummy file descriptors opened on /dev/null to ensure that the smbw
file descriptor allocation order is identical to the kernels. (This used to be commit 60a683465647932f7241ba9f92443d5e5294e20b)
Diffstat (limited to 'source3/smbwrapper/smbw.h')
-rw-r--r--source3/smbwrapper/smbw.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbwrapper/smbw.h b/source3/smbwrapper/smbw.h
index 716205c1fc..5fc864456e 100644
--- a/source3/smbwrapper/smbw.h
+++ b/source3/smbwrapper/smbw.h
@@ -21,9 +21,8 @@
#define SMBW_PREFIX "/smb/"
-#define SMBW_FD_OFFSET 700
#define SMBW_CLI_FD 512
-#define SMBW_MAX_OPEN 2048
+#define SMBW_MAX_OPEN 8192
#define SMBW_FILE_MODE (S_IFREG | 0644)
#define SMBW_DIR_MODE (S_IFDIR | 0755)