summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2011-09-14 07:28:13 +0930
committerRusty Russell <rusty@rustcorp.com.au>2011-09-14 07:28:13 +0930
commitf49d86edfe4e6dd83e896b0e82791b11bde36a64 (patch)
treec8f80e1836cea301e49c917eb5ad2e52f95a73dc /lib
parent3b2c10f8955096c5cb28e8ae157e0f08858c001e (diff)
downloadsamba-f49d86edfe4e6dd83e896b0e82791b11bde36a64.tar.gz
samba-f49d86edfe4e6dd83e896b0e82791b11bde36a64.tar.bz2
samba-f49d86edfe4e6dd83e896b0e82791b11bde36a64.zip
tdb2: remove TDB1 TDB_NO_FSYNC environment variable hack.
The caller should do this: the SAMBA compatibility later does. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit 75a6a6ad64156ef3b13493be2970ae3cb99ccf8b)
Diffstat (limited to 'lib')
-rw-r--r--lib/tdb2/tdb1_open.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/tdb2/tdb1_open.c b/lib/tdb2/tdb1_open.c
index 65bc2dba14..aed4df6558 100644
--- 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!