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