From f49d86edfe4e6dd83e896b0e82791b11bde36a64 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 14 Sep 2011 07:28:13 +0930 Subject: tdb2: remove TDB1 TDB_NO_FSYNC environment variable hack. The caller should do this: the SAMBA compatibility later does. Signed-off-by: Rusty Russell (Imported from CCAN commit 75a6a6ad64156ef3b13493be2970ae3cb99ccf8b) --- lib/tdb2/tdb1_open.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib') 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! -- cgit