mirror of
https://github.com/winfsp/winfsp.git
synced 2025-07-02 17:02:57 -05:00
Compare commits
1 Commits
v2.1B2
...
pvt-dirfix
Author | SHA1 | Date | |
---|---|---|---|
9db17294da |
@ -348,7 +348,9 @@ static NTSTATUS FspFsvolQueryDirectoryCopyCache(
|
||||
|
||||
FSP_FILE_NODE *FileNode = FileDesc->FileNode;
|
||||
|
||||
if (ResetCache || FileDesc->DirInfo != FileNode->NonPaged->DirInfo)
|
||||
if (ResetCache ||
|
||||
FileDesc->DirInfo != FileNode->NonPaged->DirInfo ||
|
||||
FileDesc->DirInfoCacheHint >= DirInfoSize)
|
||||
FileDesc->DirInfoCacheHint = 0; /* reset the DirInfo hint if anything looks fishy! */
|
||||
|
||||
FileDesc->DirInfo = FileNode->NonPaged->DirInfo;
|
||||
|
Reference in New Issue
Block a user