smbd: Simplify brl_locktest
authorVolker Lendecke <vl@samba.org>
Fri, 11 Jul 2014 13:35:45 +0000 (15:35 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 22 Jul 2014 13:32:39 +0000 (15:32 +0200)
commit188017ea324e7c6b7aba7f51a9baa490c0690a01
tree068036abed382d3289b66577053541f014b7d99a
parent50b74ccb6ae37f193f1f109a04a9a15ed48dfae5
smbd: Simplify brl_locktest

Pass "struct lock_struct" as a parameter. This had to be destructured
before the call and re-constructed inside brl_locktest.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/locking/brlock.c
source3/locking/locking.c
source3/locking/proto.h