smbd: Simplify share_mode_entry_get()
authorVolker Lendecke <vl@samba.org>
Thu, 23 Apr 2020 15:00:25 +0000 (17:00 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 5 May 2020 11:48:39 +0000 (11:48 +0000)
commit7cd687fd05719eee0acd72a2f2bf045841ff895b
tree41bb2ce3cbe53a423f69abd64de79e2d20ad35a9
parent2e3be1394ccd0fa7800fe5ab336a28a716335dac
smbd: Simplify share_mode_entry_get()

If we don't use a DATA_BLOB, we can more correctly state in the
prototype that the buffer we parse is constant.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/locking/share_mode_lock.c