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)
committerKarolin Seeger <kseeger@samba.org>
Fri, 14 Aug 2009 08:14:47 +0000 (10:14 +0200)
commitf1cf84c9b9abc48a58355400acb63fd79e1d60c4
treedb76103649c90ffabdc6ffc5b2573962f55d2dd1
parentb1dd075c6819a3fb0f00bdb93104c307505ec8ba
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>
(cherry picked from commit fa91bc67199f0d45a0e570b43aeafd816a5491bf)
lib/tdb/common/open.c