smbd: Introduce share_mode_have_entries()
commit15977f5df85980ff0adbb372e4a4f0d51dde39dc
authorVolker Lendecke <vl@samba.org>
Tue, 17 Dec 2019 13:20:48 +0000 (17 14:20 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 17 Dec 2019 22:40:32 +0000 (17 22:40 +0000)
treea01624b16779afb622fe179f477dcf4d197df9b4
parent0df06f51ffbc200b0525e175e7ac58795fd93bab
smbd: Introduce share_mode_have_entries()

This hides a use of share_mode_data->num_share_modes in
share_mode_lock.c

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/locking/proto.h
source3/locking/share_mode_lock.c