X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=ccan%2Ftdb2%2Fprivate.h;h=b84c2f980db36252d6df496fcb00e12dc87619fa;hb=de432e8f857ce23bccde7c6ffa3e7e21456df18b;hp=3397e04c4c4391d43bbab3e401e5a3bd0de57acf;hpb=3e3ee8b0c1e77340ab9e8678c2d23646d8cdb627;p=ccan diff --git a/ccan/tdb2/private.h b/ccan/tdb2/private.h index 3397e04c..b84c2f98 100644 --- a/ccan/tdb2/private.h +++ b/ccan/tdb2/private.h @@ -77,10 +77,10 @@ typedef int tdb_bool_err; /* Prevent others from opening the file. */ #define TDB_OPEN_LOCK 0 -/* Doing a transaction. */ -#define TDB_TRANSACTION_LOCK 1 /* Expanding file. */ #define TDB_EXPANSION_LOCK 2 +/* Doing a transaction. */ +#define TDB_TRANSACTION_LOCK 8 /* Hash chain locks. */ #define TDB_HASH_LOCK_START 64