mirror of
https://github.com/samba-team/samba.git
synced 2025-08-05 12:22:11 +03:00
smbd: Apply some const to share_modes_identical
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
committed by
Michael Adam
parent
a7d7429376
commit
aee0f2ccf7
@ -733,8 +733,8 @@ void set_share_mode(struct share_mode_lock *lck, files_struct *fsp,
|
||||
not automatically a logic error if they are identical. JRA.)
|
||||
********************************************************************/
|
||||
|
||||
static bool share_modes_identical(struct share_mode_entry *e1,
|
||||
struct share_mode_entry *e2)
|
||||
static bool share_modes_identical(const struct share_mode_entry *e1,
|
||||
const struct share_mode_entry *e2)
|
||||
{
|
||||
/* We used to check for e1->share_access == e2->share_access here
|
||||
as well as the other fields but 2 different DOS or FCB opens
|
||||
|
Reference in New Issue
Block a user