s3/smbd: add helper func dos_mode_from_name()
commit60587e823de1fe0e0220e99c444506260fc61d32
authorRalph Boehme <slow@samba.org>
Thu, 23 Jun 2016 10:23:33 +0000 (23 12:23 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 28 Jun 2016 11:11:21 +0000 (28 13:11 +0200)
tree915054dcb19ddfa6ca4d3c2d86d7332e45037556
parent9e4b9e5bfb65a6761f50f43f7dc9790788d77d82
s3/smbd: add helper func dos_mode_from_name()

This just moves the computation of "hide dot files" files to a helper
functions without changing 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 c8c67c9a2a6347e36f4628e2d0260bd6c58d8c65)
source3/smbd/dosmode.c