}
#ifdef AFSIFS
- lock_ObtainMutex(&scp->mx);
- if ((scp->flags & CM_SCACHEFLAG_BULKSTATTING) == 0
- && (scp->bulkStatProgress.QuadPart <= thyper.QuadPart))
- {
- scp->flags |= CM_SCACHEFLAG_BULKSTATTING;
- cm_TryBulkStat(scp, &thyper, userp, reqp);
- scp->flags &= ~CM_SCACHEFLAG_BULKSTATTING;
- scp->bulkStatProgress = thyper;
- }
- lock_ReleaseMutex(&scp->mx);
+ /* Why was this added for IFS? - jaltman 06/18/2006 */
+ lock_ObtainMutex(&scp->mx);
+ if ((scp->flags & CM_SCACHEFLAG_BULKSTATTING) == 0
+ && (scp->bulkStatProgress.QuadPart <= thyper.QuadPart))
+ {
+ scp->flags |= CM_SCACHEFLAG_BULKSTATTING;
+ cm_TryBulkStat(scp, &thyper, userp, reqp);
+ scp->flags &= ~CM_SCACHEFLAG_BULKSTATTING;
+ scp->bulkStatProgress = thyper;
+ }
+ lock_ReleaseMutex(&scp->mx);
#endif
- lock_ObtainMutex(&bufferp->mx);
+ lock_ObtainMutex(&bufferp->mx);
bufferOffset = thyper;
/* now get the data in the cache */