summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-10-05 00:41:16 +0000
committerJeremy Allison <jra@samba.org>2002-10-05 00:41:16 +0000
commitf86f4a4b66f772538185cd7a7aac26c4d9135379 (patch)
treee4e69ec6cc3138f3cd454c661d2093e394c8094a /source3/param
parent9c94d1a2f72b6fcbbd056804837fc8719806491b (diff)
downloadsamba-f86f4a4b66f772538185cd7a7aac26c4d9135379.tar.gz
samba-f86f4a4b66f772538185cd7a7aac26c4d9135379.tar.bz2
samba-f86f4a4b66f772538185cd7a7aac26c4d9135379.zip
Turn on sendfile detection by default in HEAD and 3.0.
Jeremy. (This used to be commit 6a9d0c9bdd57c135c4565da829b2fa4f44874a6d)
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index ba0866883f..a0c77a0421 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -389,9 +389,7 @@ typedef struct
BOOL bUseClientDriver;
BOOL bDefaultDevmode;
BOOL bNTAclSupport;
-#ifdef WITH_SENDFILE
BOOL bUseSendfile;
-#endif
BOOL bProfileAcls;
char dummy[3]; /* for alignment */
@@ -513,9 +511,7 @@ static service sDefault = {
False, /* bUseClientDriver */
False, /* bDefaultDevmode */
True, /* bNTAclSupport */
-#ifdef WITH_SENDFILE
False, /* bUseSendfile */
-#endif
False, /* bProfileAcls */
"" /* dummy */
@@ -872,9 +868,7 @@ static struct parm_struct parm_table[] = {
{"strict sync", P_BOOL, P_LOCAL, &sDefault.bStrictSync, NULL, NULL, FLAG_SHARE},
{"sync always", P_BOOL, P_LOCAL, &sDefault.bSyncAlways, NULL, NULL, FLAG_SHARE},
{"use mmap", P_BOOL, P_GLOBAL, &Globals.bUseMmap, NULL, NULL, FLAG_DEVELOPER},
-#ifdef WITH_SENDFILE
{"use sendfile", P_BOOL, P_LOCAL, &sDefault.bUseSendfile, NULL, NULL, FLAG_SHARE},
-#endif
{"hostname lookups", P_BOOL, P_GLOBAL, &Globals.bHostnameLookups, NULL, NULL, FLAG_ADVANCED | FLAG_DEVELOPER},
{"write cache size", P_INTEGER, P_LOCAL, &sDefault.iWriteCacheSize, NULL, NULL, FLAG_SHARE},
@@ -1783,9 +1777,7 @@ FN_LOCAL_BOOL(lp_inherit_acls, bInheritACLS)
FN_LOCAL_BOOL(lp_use_client_driver, bUseClientDriver)
FN_LOCAL_BOOL(lp_default_devmode, bDefaultDevmode)
FN_LOCAL_BOOL(lp_nt_acl_support, bNTAclSupport)
-#ifdef WITH_SENDFILE
FN_LOCAL_BOOL(lp_use_sendfile, bUseSendfile)
-#endif
FN_LOCAL_BOOL(lp_profile_acls, bProfileAcls)
FN_LOCAL_INTEGER(lp_create_mask, iCreate_mask)
FN_LOCAL_INTEGER(lp_force_create_mode, iCreate_force_mode)