mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -05:00
sys: implement FastIo operations
FspFastIoQueryOpen: return FALSE when RelatedFileObject is not NULL
This commit is contained in:
parent
3dfbdc313b
commit
02a4d3641e
@ -1897,6 +1897,10 @@ BOOLEAN FspFastIoQueryOpen(
|
||||
PFILE_OBJECT FileObject = IrpSp->FileObject;
|
||||
FSP_FSCTL_FILE_INFO FileInfoBuf;
|
||||
|
||||
if (0 != FileObject->RelatedFileObject)
|
||||
/* sorry, no can do relative opens in here */
|
||||
FSP_RETURN(Result = FALSE);
|
||||
|
||||
Result = FspFileNodeTryGetFileInfoByName(IrpSp->DeviceObject, &FileObject->FileName, &FileInfoBuf);
|
||||
if (Result)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user