s3/smbd: move check for "hide files" to dos_mode_from_name()
authorRalph Boehme <slow@samba.org>
Thu, 23 Jun 2016 15:14:55 +0000 (17:14 +0200)
committerRalph Boehme <slow@samba.org>
Sat, 25 Jun 2016 16:47:17 +0000 (18:47 +0200)
commitf2a53efb1aab0986d6a7d9621b1efff2127df4e6
treee86be975c7f7b657d659a0aaad1b692adb84430f
parent1be877038c53c88802bc19c00a49c1974f17c4eb
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>
source3/smbd/dosmode.c