sys: FspFsvolQueryInformation,FspFsvolSetInformation:

- return STATUS_INVALID_PARAMETER on volume handles
This commit is contained in:
Bill Zissimopoulos 2016-12-30 14:39:47 -08:00
parent bd38a39dbd
commit 27315c1111

View File

@ -627,7 +627,7 @@ static NTSTATUS FspFsvolQueryInformation(
/* is this a valid FileObject? */
if (!FspFileNodeIsValid(IrpSp->FileObject->FsContext))
return STATUS_INVALID_DEVICE_REQUEST;
return STATUS_INVALID_PARAMETER;
FILE_INFORMATION_CLASS FileInformationClass = IrpSp->Parameters.QueryFile.FileInformationClass;
@ -1429,7 +1429,7 @@ static NTSTATUS FspFsvolSetInformation(
/* is this a valid FileObject? */
if (!FspFileNodeIsValid(IrpSp->FileObject->FsContext))
return STATUS_INVALID_DEVICE_REQUEST;
return STATUS_INVALID_PARAMETER;
FILE_INFORMATION_CLASS FileInformationClass = IrpSp->Parameters.SetFile.FileInformationClass;