diff options
author | Jeremy Allison <jra@samba.org> | 2011-05-19 16:38:11 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-05-20 09:18:13 -0700 |
commit | 38c77db9892b5d607a7a05fab563f5f6977794e1 (patch) | |
tree | fcaeb5fbb02ad8a61fe6e1e778d3fabe83a581f8 /source3/smbd/smb2_write.c | |
parent | df650fa8cf4954245eced7eccb26388c24acee82 (diff) | |
download | samba-38c77db9892b5d607a7a05fab563f5f6977794e1.tar.gz samba-38c77db9892b5d607a7a05fab563f5f6977794e1.tar.bz2 samba-38c77db9892b5d607a7a05fab563f5f6977794e1.zip |
Optimization. If the attributes passed to can_rename() include both FILE_ATTRIBUTE_HIDDEN and FILE_ATTRIBUTE_SYSTEM then there's no point in reading the source DOS attribute, as we're not going to deny the rename on attribute match.
Diffstat (limited to 'source3/smbd/smb2_write.c')
0 files changed, 0 insertions, 0 deletions