mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
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:
parent
dddd393198
commit
53413685ce
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user