tdb2: allow readonly changes even while holding locks.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 20 Sep 2011 02:32:43 +0000 (12:02 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 20 Sep 2011 02:32:43 +0000 (12:02 +0930)
commit24e5ddb143fb5e79112649472258f5da67cc7362
treef191a0ba21ca261fc094917e6c331a3d9dbf0340
parentafa6d57b7d93fe4675a952f556eb462951baa257
tdb2: allow readonly changes even while holding locks.

This happens in SAMBA with the TDB_VERSION1, presumably due to a
read-only traverse nested inside a normal traverse (since it doesn't
occur without TDB_VERSION1).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/tdb2/tdb.c