ldb_wrap: Remove ldb_transaction_cancel_noerr from ldb_wrap_fork_hook()
authorAndrew Bartlett <abartlet@samba.org>
Thu, 15 Mar 2018 00:42:17 +0000 (13:42 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 12 Apr 2018 03:15:16 +0000 (05:15 +0200)
commit46b6f2d782efb0d15e676c5be359e1a4145cf426
tree5ece044286121faaa6ed13e790202ef7462eb58f
parent056b2abde615aab986e43c41c297edfaf58aaea2
ldb_wrap: Remove ldb_transaction_cancel_noerr from ldb_wrap_fork_hook()

Writing to a TDB, without locks (these are per-process) in a forked child is never going to
end well, if a transaction is open at this point we have bigger problems.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
lib/ldb-samba/ldb_wrap.c