mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 17:03:12 -05:00
sys: FspFsvolQueryInformation,FspFsvolSetInformation:
- return STATUS_INVALID_PARAMETER on volume handles
This commit is contained in:
parent
bd38a39dbd
commit
27315c1111
@ -627,7 +627,7 @@ static NTSTATUS FspFsvolQueryInformation(
|
|||||||
|
|
||||||
/* is this a valid FileObject? */
|
/* is this a valid FileObject? */
|
||||||
if (!FspFileNodeIsValid(IrpSp->FileObject->FsContext))
|
if (!FspFileNodeIsValid(IrpSp->FileObject->FsContext))
|
||||||
return STATUS_INVALID_DEVICE_REQUEST;
|
return STATUS_INVALID_PARAMETER;
|
||||||
|
|
||||||
FILE_INFORMATION_CLASS FileInformationClass = IrpSp->Parameters.QueryFile.FileInformationClass;
|
FILE_INFORMATION_CLASS FileInformationClass = IrpSp->Parameters.QueryFile.FileInformationClass;
|
||||||
|
|
||||||
@ -1429,7 +1429,7 @@ static NTSTATUS FspFsvolSetInformation(
|
|||||||
|
|
||||||
/* is this a valid FileObject? */
|
/* is this a valid FileObject? */
|
||||||
if (!FspFileNodeIsValid(IrpSp->FileObject->FsContext))
|
if (!FspFileNodeIsValid(IrpSp->FileObject->FsContext))
|
||||||
return STATUS_INVALID_DEVICE_REQUEST;
|
return STATUS_INVALID_PARAMETER;
|
||||||
|
|
||||||
FILE_INFORMATION_CLASS FileInformationClass = IrpSp->Parameters.SetFile.FileInformationClass;
|
FILE_INFORMATION_CLASS FileInformationClass = IrpSp->Parameters.SetFile.FileInformationClass;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user