smbd: Rewrite share_conflict()
commite69c4faeb7187922674d85c90134324725993671
authorVolker Lendecke <vl@samba.org>
Mon, 12 Aug 2019 10:44:39 +0000 (12 12:44 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 17 Sep 2019 22:49:36 +0000 (17 22:49 +0000)
tree8877394f13dacc0b04a6e36b35406d4ec22b6fb7
parente0aa1e09988690ecb8f5caa7201b4a622fc22be5
smbd: Rewrite share_conflict()

It was hard for me to understand share_conflict(), so once I understood
it I thought this version would be easier to follow.  It violates
README.Coding (one argument per line), but grouping the parameters to
mask_conflict makes it clearer to me what belongs together.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/open.c