From: Jeffrey Altman Date: Mon, 14 Jul 2008 14:36:44 +0000 (+0000) Subject: windows-smb-misc-two-20080714 X-Git-Tag: openafs-devel-1_5_61~968 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=03fb36bd534a1ff13340e8d322c1e13eeef8ef43;p=packages%2Fo%2Fopenafs.git windows-smb-misc-two-20080714 LICENSE MIT Fix the assignment of SMB_ATTR_DIRECTORY. Apply it to the correct field name. --- 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 ) {