From: Jeffrey Altman Date: Wed, 2 May 2012 22:01:31 +0000 (-0400) Subject: Windows: correct typos or mistaken comments X-Git-Tag: upstream/1.8.0_pre1^2~2452 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=23bec3fe9f12c0af08f03b0b9cb70add7be859ba;p=packages%2Fo%2Fopenafs.git Windows: correct typos or mistaken comments Change-Id: Iae278c0121c1b4d3cc9aaab276fab798c1a8065b Reviewed-on: http://gerrit.openafs.org/7316 Reviewed-by: Chas Williams - CONTRACTOR Tested-by: BuildBot Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- diff --git a/src/WINNT/afsrdr/common/AFSRedirCommonStructs.h b/src/WINNT/afsrdr/common/AFSRedirCommonStructs.h index 48da85055..8f334d542 100644 --- a/src/WINNT/afsrdr/common/AFSRedirCommonStructs.h +++ b/src/WINNT/afsrdr/common/AFSRedirCommonStructs.h @@ -598,7 +598,7 @@ typedef struct _AFS_DEVICE_EXTENSION // // Maximum RPC length that is issued by the service. We should limit our - // data requests such as for extents to thsi length + // data requests such as for extents to this length // ULONG MaximumRPCLength; diff --git a/src/WINNT/afsrdr/kernel/lib/AFSExtentsSupport.cpp b/src/WINNT/afsrdr/kernel/lib/AFSExtentsSupport.cpp index 05610d39f..63f2f954c 100644 --- a/src/WINNT/afsrdr/kernel/lib/AFSExtentsSupport.cpp +++ b/src/WINNT/afsrdr/kernel/lib/AFSExtentsSupport.cpp @@ -161,10 +161,6 @@ AFSTearDownFcbExtents( IN AFSFcb *Fcb, try_return ( ntStatus = STATUS_SUCCESS); } - // - // Release a max of 100 extents at a time - // - sz = sizeof( AFSReleaseExtentsCB ) + (AFS_MAXIMUM_EXTENT_RELEASE_COUNT * sizeof ( AFSFileExtentCB )); pRelease = (AFSReleaseExtentsCB*) AFSExAllocatePoolWithTag( NonPagedPool, diff --git a/src/WINNT/afsrdr/kernel/lib/AFSRead.cpp b/src/WINNT/afsrdr/kernel/lib/AFSRead.cpp index e0ac614d8..54a170542 100644 --- a/src/WINNT/afsrdr/kernel/lib/AFSRead.cpp +++ b/src/WINNT/afsrdr/kernel/lib/AFSRead.cpp @@ -1248,7 +1248,7 @@ AFSCommonRead( IN PDEVICE_OBJECT DeviceObject, AFSDbgLogMsg( AFS_SUBSYSTEM_IO_PROCESSING, AFS_TRACE_LEVEL_ERROR, - "AFSCachedWrite (%08lX) Exception thrown during mdl read Status %08lX\n", + "AFSCommonRead (%08lX) Exception thrown during mdl read Status %08lX\n", Irp, ntStatus); }