s3: Change locking order between brlock and locking
authorVolker Lendecke <vl@samba.org>
Fri, 13 Jan 2012 12:26:41 +0000 (13:26 +0100)
committerVolker Lendecke <vlendec@samba.org>
Wed, 18 Jan 2012 13:48:04 +0000 (14:48 +0100)
commitcf77a21c633807b178fb716dba7a6284cca58511
tree9a697989fc9089b38ba0f08fcdba9b70bc75bf8a
parent333c92384b0680b8f8e5198dd68d49b249b34ec7
s3: Change locking order between brlock and locking

But 8175 was fixed in a way that brlock.tdb was always locked before
locking.tdb. This patch fixes the bug in a different way. locking.tdb
is the central tdb for files and should always be locked first.
This patch solves the problem by postponing the level2 break messages,
which are async anyway.
source3/smbd/oplock.c