From: Rusty Russell Date: Wed, 31 Aug 2011 05:45:16 +0000 (+0930) Subject: tdb2: remove TDB1 TDB_NO_FSYNC environment variable hack. X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=75a6a6ad64156ef3b13493be2970ae3cb99ccf8b tdb2: remove TDB1 TDB_NO_FSYNC environment variable hack. The caller should do this: the SAMBA compatibility later does. --- 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!