From: Rusty Russell Date: Fri, 10 Sep 2010 03:59:54 +0000 (+0930) Subject: tdb: enforce hashing, via example hash in old rwlocks entry in header. X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=426c8dc977d0fb46286042f7072d86bc053836a1;hp=426c8dc977d0fb46286042f7072d86bc053836a1 tdb: enforce hashing, via example hash in old rwlocks entry in header. 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. ---