smbd: Expand IS_DOS_* macros
commit817f68e4a13d38acc6e9849643a95e35a7ef08e1
authorVolker Lendecke <vl@samba.org>
Fri, 6 Oct 2023 11:42:19 +0000 (6 13:42 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 10 Oct 2023 23:23:40 +0000 (10 23:23 +0000)
tree8e5ad4ab45863caeada2a87cd9a425b9cca75907
parent1fbf08e8120b27783c32f599b64d3b2c5c70dce7
smbd: Expand IS_DOS_* macros

To me these macros hide more than they clarify. In a lot of places we
already directly check for these flags without those macros. Unify
that.

Also, check for the dosmode bits first, lp_map_* is a bit more effort
to evaluate.

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