tdb: Revert "lib/tdb: if we know pwrite and pread are thread/fork safe tdb_reopen_all...
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 30 Jul 2009 02:21:28 +0000 (11:51 +0930)
committerStefan Metzmacher <metze@samba.org>
Fri, 31 Jul 2009 12:40:28 +0000 (14:40 +0200)
commitfa91bc67199f0d45a0e570b43aeafd816a5491bf
tree7990ad8f7879f0ccbc1d643a325c9712a77b73c8
parent42b28ee95d0884c465fd2762ee9cbf1044a8bd4d
tdb: Revert "lib/tdb: if we know pwrite and pread are thread/fork safe tdb_reopen_all() should be a noop"

This reverts commit e17df483fbedb81aededdef5fbb6ae1d034bc2dd.

tdb_reopen_all also restores the active lock, required for TDB_CLEAR_IF_FIRST.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
lib/tdb/common/open.c