summaryrefslogtreecommitdiff
path: root/source3/smbd/smb2_lock.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-05-19 16:38:11 -0700
committerJeremy Allison <jra@samba.org>2011-05-20 09:18:13 -0700
commit38c77db9892b5d607a7a05fab563f5f6977794e1 (patch)
treefcaeb5fbb02ad8a61fe6e1e778d3fabe83a581f8 /source3/smbd/smb2_lock.c
parentdf650fa8cf4954245eced7eccb26388c24acee82 (diff)
downloadsamba-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_lock.c')
0 files changed, 0 insertions, 0 deletions