From: Jeffrey Altman Date: Mon, 14 Jul 2008 14:38:23 +0000 (+0000) Subject: DEVEL15-windows-smb-misc-two-20080714 X-Git-Tag: openafs-devel-1_5_50~10 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=01134f977d627b52995611a76968782254552a1d;p=packages%2Fo%2Fopenafs.git DEVEL15-windows-smb-misc-two-20080714 LICENSE MIT Fix the assignment of SMB_ATTR_DIRECTORY. Apply it to the correct field name. (cherry picked from commit 03fb36bd534a1ff13340e8d322c1e13eeef8ef43) --- diff --git a/src/WINNT/afsd/smb3.c b/src/WINNT/afsd/smb3.c index 9bdcf0020..f3d55cc54 100644 --- a/src/WINNT/afsd/smb3.c +++ b/src/WINNT/afsd/smb3.c @@ -4108,9 +4108,9 @@ smb_ApplyV3DirListPatches(cm_scache_t *dscp,smb_dirListPatch_t **dirPatchespp, * and odd means it is to be treated as a file. */ if (mustFake && (scp->fid.vnode & 0x1)) - fa->extFileAttributes = SMB_ATTR_DIRECTORY; + fa->attributes = SMB_ATTR_DIRECTORY; else - fa->extFileAttributes = SMB_ATTR_NORMAL; + fa->attributes = SMB_ATTR_NORMAL; } /* merge in hidden (dot file) attribute */ if ( patchp->flags & SMB_DIRLISTPATCH_DOTFILE ) {