smbd: validate oplock types even for internal and stat opens
authorVolker Lendecke <vl@samba.org>
Tue, 15 Oct 2013 12:41:11 +0000 (12:41 +0000)
committerStefan Metzmacher <metze@samba.org>
Wed, 23 Oct 2013 09:47:19 +0000 (11:47 +0200)
commit9890a6a36df98bae501845764a9579c9c75c5188
treec1e91686896f067797e8f1b5ad0761b0319fd7dc
parent7b51e9f8d3db208027cab44ca8c17129a9e86929
smbd: validate oplock types even for internal and stat opens

There's no reason why we should not do this. This has turned into a pure
internal consistency check that should apply fine every time.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/open.c