smbd: Move brl_validate to the cleanupd
authorVolker Lendecke <vl@samba.org>
Sat, 7 Nov 2015 19:18:52 +0000 (20:18 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 16 Nov 2015 13:51:33 +0000 (14:51 +0100)
commitbbeabd346de1e339b1cafbad03d892ac48b3cb25
treefef9ffe4133a112017c417542abe9937e589be18
parent14fc9018aa8abfd3255f0f3a1b2b5541e8a9dc61
smbd: Move brl_validate to the cleanupd

This walks brlock.tdb, which can be time-consuming.

This adds a new includes.h include. It's too much of a pain for me now to
make locking/proto.h clean to include on its own.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/server.c
source3/smbd/smbd_cleanupd.c