tdb: use tdb_nest_lock() for seqnum lock.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 17 Feb 2010 02:10:57 +0000 (12:40 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 17 Feb 2010 02:10:57 +0000 (12:40 +1030)
commitd48c3e4982a38fb6b568ed3903e55e07a0fe5ca6
tree5cabd05ae49c8ee3228491e51c5f6a4702b9e75e
parent4738d474c412cc59d26fcea64007e99094e8b675
tdb: use tdb_nest_lock() for seqnum lock.

This is pure overhead, but it centralizes the locking.  Realloc (esp. as
most implementations are lazy) is fast compared to the fnctl anyway.

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