smbd: Make find_oplock_types return bool
authorVolker Lendecke <vl@samba.org>
Tue, 15 Oct 2013 10:01:54 +0000 (10:01 +0000)
committerMichael Adam <obnox@samba.org>
Tue, 15 Oct 2013 21:44:37 +0000 (23:44 +0200)
commit4d85f91a5b309fac76ed8b0ed2a18132c18b2659
tree87c2df00ca8b979fe6afbda6cbae2fe46badd1f4
parent0f71730d1bd1e60b439a45e56d5e68423706c897
smbd: Make find_oplock_types return bool

smb_panic() does not take a printf style argument. This improves debug
output by easily printing the index that we fell over. Also, doing
smb_panic deep down is bad style IMHO.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/smbd/open.c