X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftdb2%2Ftdb1_open.c;h=aed4df65585bf8c45f353f1ccbfbda6bb29943aa;hp=65bc2dba14635e5833d6ab18368095de12cb02bf;hb=75a6a6ad64156ef3b13493be2970ae3cb99ccf8b;hpb=444fade529f68eb2b0aebbc8de442478c5c6f916;ds=sidebyside 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!