From 23bec3fe9f12c0af08f03b0b9cb70add7be859ba Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Wed, 2 May 2012 18:01:31 -0400 Subject: [PATCH] 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 --- src/WINNT/afsrdr/common/AFSRedirCommonStructs.h | 2 +- src/WINNT/afsrdr/kernel/lib/AFSExtentsSupport.cpp | 4 ---- src/WINNT/afsrdr/kernel/lib/AFSRead.cpp | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/WINNT/afsrdr/common/AFSRedirCommonStructs.h b/src/WINNT/afsrdr/common/AFSRedirCommonStructs.h index 48da850558..8f334d5429 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 05610d39fb..63f2f954c7 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 e0ac614d8e..54a1705423 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); }