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 <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
This commit is contained in:
Jeffrey Altman 2012-06-24 10:12:51 -04:00
parent dddd393198
commit 53413685ce

View 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;