From 53413685ce56c5adba7b095265a62a5088977de2 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Sun, 24 Jun 2012 10:12:51 -0400 Subject: [PATCH] Windows: Remove incorrect assert AFSVolumeInfo When querying the volume information, the input FileId does not have to be a volume root. Remove this extraneous assertion. Change-Id: Iee4c64c395ad409dfcc3d3be31df63ceaf70fc07 Reviewed-on: http://gerrit.openafs.org/7646 Tested-by: BuildBot Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- src/WINNT/afsrdr/kernel/lib/AFSVolumeInfo.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/WINNT/afsrdr/kernel/lib/AFSVolumeInfo.cpp b/src/WINNT/afsrdr/kernel/lib/AFSVolumeInfo.cpp index 82b72d0d84..c612583397 100644 --- a/src/WINNT/afsrdr/kernel/lib/AFSVolumeInfo.cpp +++ b/src/WINNT/afsrdr/kernel/lib/AFSVolumeInfo.cpp @@ -98,9 +98,6 @@ AFSQueryVolumeInfo( IN PDEVICE_OBJECT LibDeviceObject, pVolumeCB = pObjectInfo->VolumeCB; - ASSERT( pObjectInfo->FileType == AFS_FILE_TYPE_DIRECTORY && - pObjectInfo->FileId.Vnode == 1); - ulLength = pIrpSp->Parameters.QueryVolume.Length; FsInformationClass = pIrpSp->Parameters.QueryVolume.FsInformationClass; pBuffer = Irp->AssociatedIrp.SystemBuffer;