]> git.ozlabs.org Git - ccan/commitdiff
tdb: enforce hashing, via example hash in old rwlocks entry in header.
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 10 Sep 2010 03:59:54 +0000 (13:29 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 10 Sep 2010 03:59:54 +0000 (13:29 +0930)
This means that older code will not be able to open new TDBs with
a non-default hash, *even* if they are using the correct hash.
Non-default hashes were unusual, but now SAMBA is considering using
a non-default hash, and avoiding corruption seems more important
than backwards compatibility for an obscure case.


No differences found