Compare commits

..

4 Commits

4 changed files with 12 additions and 4 deletions

View File

@ -30,7 +30,6 @@ This document contains a list of known open-source file systems and file system
- https://github.com/winfsp/cgofuse[Go: cgofuse] - Cross-platform FUSE library for Go
- https://github.com/SerCeMan/jnr-fuse[Java: jnr-fuse] - FUSE implementation in Java using Java Native Runtime (JNR)
- https://github.com/jnr-winfsp-team/jnr-winfsp[Java: jnr-winfsp] - A Java binding for WinFsp using Java Native Runtime (JNR)
- https://github.com/DuroSoft/fuse-bindings[Nodejs: fuse-bindings] - Fully maintained FUSE bindings for Node that aims to cover the entire FUSE api
- https://github.com/billziss-gh/fusepy[Python: fusepy] - Simple ctypes bindings for FUSE
- https://github.com/pleiszenburg/refuse[Python: refuse] - Simple cross-plattform ctypes bindings for libfuse / FUSE for macOS / WinFsp
- https://github.com/Scille/winfspy[Python: winfspy] - WinFSP binding for Python

View File

@ -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;

View File

@ -250,7 +250,7 @@ NTSTATUS FspMupHandleIrp(
* Every other CREATE request must be forwarded to the appropriate fsvol device.
*/
if (0 != FileObject->RelatedFileObject)
while (0 != FileObject->RelatedFileObject)
FileObject = FileObject->RelatedFileObject;
FspFsmupDeviceLockPrefixTable(FsmupDeviceObject);

View File

@ -16,7 +16,14 @@ int main()
{
char pass[256];
gets(pass);
fgets(pass, sizeof pass, stdin);
for (char *p = pass; *p; p++)
if ('\n' == *p)
{
*p = '\0';
break;
}
if (0 == strcmp("foobar", pass))
{
puts("OK");