From 75a6a6ad64156ef3b13493be2970ae3cb99ccf8b Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 31 Aug 2011 15:15:16 +0930 Subject: [PATCH] tdb2: remove TDB1 TDB_NO_FSYNC environment variable hack. The caller should do this: the SAMBA compatibility later does. --- ccan/tdb2/tdb1_open.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ccan/tdb2/tdb1_open.c b/ccan/tdb2/tdb1_open.c index 65bc2dba..aed4df65 100644 --- a/ccan/tdb2/tdb1_open.c +++ b/ccan/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! -- 2.39.2