]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Windows: Remove incorrect assert AFSVolumeInfo
authorJeffrey Altman <jaltman@your-file-system.com>
Sun, 24 Jun 2012 14:12:51 +0000 (10:12 -0400)
committerJeffrey Altman <jaltman@your-file-system.com>
Tue, 3 Jul 2012 16:31:13 +0000 (09:31 -0700)
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 <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
src/WINNT/afsrdr/kernel/lib/AFSVolumeInfo.cpp

index 82b72d0d84aa7a42d78f50164ee68e61a47ceb99..c612583397705433f849375e3ea3856b2f699476 100644 (file)
@@ -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;