Optimization. If the attributes passed to can_rename() include both FILE_ATTRIBUTE_HI...
authorJeremy Allison <jra@samba.org>
Thu, 19 May 2011 23:38:11 +0000 (16:38 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 20 May 2011 16:18:13 +0000 (09:18 -0700)
commit38c77db9892b5d607a7a05fab563f5f6977794e1
treefcaeb5fbb02ad8a61fe6e1e778d3fabe83a581f8
parentdf650fa8cf4954245eced7eccb26388c24acee82
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.
source3/smbd/reply.c