git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b2c10f
)
tdb2: remove TDB1 TDB_NO_FSYNC environment variable hack.
author
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 13 Sep 2011 21:58:13 +0000
(07:28 +0930)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 13 Sep 2011 21:58:13 +0000
(07:28 +0930)
The caller should do this: the SAMBA compatibility later does.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(Imported from CCAN commit
75a6a6ad64156ef3b13493be2970ae3cb99ccf8b
)
lib/tdb2/tdb1_open.c
patch
|
blob
|
history
diff --git
a/lib/tdb2/tdb1_open.c
b/lib/tdb2/tdb1_open.c
index 65bc2dba14635e5833d6ab18368095de12cb02bf..aed4df65585bf8c45f353f1ccbfbda6bb29943aa 100644
(file)
--- a/
lib/tdb2/tdb1_open.c
+++ b/
lib/tdb2/tdb1_open.c
@@
-266,10
+266,6
@@
struct tdb1_context *tdb1_open_ex(const char *name, int hash_size, int tdb1_flag
goto fail;
}
- if (getenv("TDB_NO_FSYNC")) {
- tdb->flags |= TDB1_NOSYNC;
- }
-
/*
* TDB1_ALLOW_NESTING is the default behavior.
* Note: this may change in future versions!