]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-windows-smb-fid-mx-lock-20060602
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 2 Jun 2006 16:39:42 +0000 (16:39 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 2 Jun 2006 16:39:42 +0000 (16:39 +0000)
add a lock that was lost during the pullups before 1.4.1c

src/WINNT/afsd/smb.c

index 656f8ff2a84207efb421be2554578f6c245914ef..39be6f6061a710a3752e6f54a63d79715474ea45 100644 (file)
@@ -5862,6 +5862,7 @@ long smb_CloseFID(smb_vc_t *vcp, smb_fid_t *fidp, cm_user_t *userp,
                                  dscp, fullPathp, NULL, TRUE);
         }
         free(fullPathp);
+       lock_ObtainMutex(&fidp->mx);
        fidp->flags &= ~SMB_FID_DELONCLOSE;
     }