s3/smbd: call dos_mode_from_name after get_ea_dos_attribute()
commit3296ee715c082398bcec16694b509221852ccdf6
authorRalph Boehme <slow@samba.org>
Thu, 23 Jun 2016 14:40:15 +0000 (23 16:40 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 28 Jun 2016 11:11:21 +0000 (28 13:11 +0200)
tree7a50a292d9781cd7554377193ce43178ea05d2f0
parent60587e823de1fe0e0220e99c444506260fc61d32
s3/smbd: call dos_mode_from_name after get_ea_dos_attribute()

This doesn't change overall behaviour in any way, it just prepares for
the next step where the IS_HIDDEN_PATH() stuff will be moved to the
function dos_mode_from_name().

It allows an optimisation by not checking "hide to files" patch if
FILE_ATTRIBUTE_HIDDEN was already set in the DOS xattr.

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>
(backported from commit 1be877038c53c88802bc19c00a49c1974f17c4eb)
source3/smbd/dosmode.c