s3/smbd: move check for "hide files" to dos_mode_from_name()
commitc8d3d3c3237255fdbc20ac96631abad9176acdcd
authorRalph Boehme <slow@samba.org>
Thu, 23 Jun 2016 15:14:55 +0000 (23 17:14 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 28 Jun 2016 11:11:21 +0000 (28 13:11 +0200)
tree3c255e0c5479e4fe70f74f74135e1f1e54df42d7
parent3296ee715c082398bcec16694b509221852ccdf6
s3/smbd: move check for "hide files" to dos_mode_from_name()

Consolidate the "hide dot files" and "hide files" handling stuff in one
function. No change in overall behaviour.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11992

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit f2a53efb1aab0986d6a7d9621b1efff2127df4e6)
source3/smbd/dosmode.c