summaryrefslogtreecommitdiff
path: root/source4/param/loadparm.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-12 22:18:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:50 -0500
commit2003ab2598e7dc93ceb2afc7f71986e5f27758b8 (patch)
tree5ed1664bf2ad9e0b018d6f12a1f0ec5f0445aa9a /source4/param/loadparm.c
parent7c31786a0d972029937b2f120704f425262f98c4 (diff)
downloadsamba-2003ab2598e7dc93ceb2afc7f71986e5f27758b8.tar.gz
samba-2003ab2598e7dc93ceb2afc7f71986e5f27758b8.tar.bz2
samba-2003ab2598e7dc93ceb2afc7f71986e5f27758b8.zip
r2941: added pvfs_flush() implementation to the posix backend
(This used to be commit dac00ef3b0d0f8467367d7b6ff77db7b63a042cc)
Diffstat (limited to 'source4/param/loadparm.c')
-rw-r--r--source4/param/loadparm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index ee424cb0c4..283a7f80ce 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -270,6 +270,7 @@ typedef struct
BOOL *copymap;
BOOL bMSDfsRoot;
BOOL bShareModes;
+ BOOL bStrictSync;
struct param_opt *param_opt;
char dummy[3]; /* for alignment */
@@ -327,6 +328,7 @@ static service sDefault = {
NULL, /* copymap */
False, /* bMSDfsRoot */
True, /* bShareModes */
+ False, /* bStrictSync */
NULL, /* Parametric options */
"" /* dummy */
@@ -618,6 +620,7 @@ static struct parm_struct parm_table[] = {
{"hostname lookups", P_BOOL, P_GLOBAL, &Globals.bHostnameLookups, NULL, NULL, FLAG_ADVANCED | FLAG_DEVELOPER},
{"name cache timeout", P_INTEGER, P_GLOBAL, &Globals.name_cache_timeout, NULL, NULL, FLAG_ADVANCED | FLAG_DEVELOPER},
+ {"strict sync", P_BOOL, P_LOCAL, &sDefault.bStrictSync, NULL, NULL, FLAG_ADVANCED | FLAG_SHARE},
{"Printing Options", P_SEP, P_SEPARATOR},
@@ -1244,6 +1247,7 @@ FN_LOCAL_BOOL(lp_map_archive, bMap_archive)
FN_LOCAL_BOOL(lp_locking, bLocking)
FN_LOCAL_BOOL(lp_strict_locking, bStrictLocking)
FN_LOCAL_BOOL(lp_posix_locking, bPosixLocking)
+FN_LOCAL_BOOL(lp_strict_sync, bStrictSync)
FN_LOCAL_BOOL(lp_share_modes, bShareModes)
FN_LOCAL_BOOL(lp_oplocks, bOpLocks)
FN_LOCAL_BOOL(lp_level2_oplocks, bLevel2OpLocks)