mirror of
				https://github.com/winfsp/winfsp.git
				synced 2025-10-30 11:38:39 -05:00 
			
		
		
		
	sys: FspFileNodeSetFileInfo: log and debug break on CcSetFileSizes failure (until we understand them better)
This commit is contained in:
		| @@ -538,7 +538,11 @@ VOID FspFileNodeSetFileInfo(FSP_FILE_NODE *FileNode, PFILE_OBJECT CcFileObject, | |||||||
|         NTSTATUS Result = FspCcSetFileSizes( |         NTSTATUS Result = FspCcSetFileSizes( | ||||||
|             CcFileObject, (PCC_FILE_SIZES)&FileNode->Header.AllocationSize); |             CcFileObject, (PCC_FILE_SIZES)&FileNode->Header.AllocationSize); | ||||||
|         if (!NT_SUCCESS(Result)) |         if (!NT_SUCCESS(Result)) | ||||||
|  |         { | ||||||
|  |             DEBUGLOG("FspCcSetFileSizes error: %s", NtStatusSym(Result)); | ||||||
|  |             DEBUGBREAK_EX(crit); | ||||||
|             CcUninitializeCacheMap(CcFileObject, 0, 0); |             CcUninitializeCacheMap(CcFileObject, 0, 0); | ||||||
|  |         } | ||||||
|     } |     } | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user