Don't attempt anything during the cleanup of stream file (or of an unopened file).
Fix crash on boot.

svn path=/trunk/; revision=62791
This commit is contained in:
Pierre Schweitzer 2014-04-19 06:32:58 +00:00
parent bc61ac0dc5
commit 4c86c611f1

View file

@ -46,6 +46,12 @@ CdfsCleanupFile(PDEVICE_EXTENSION DeviceExt,
DeviceExt,
FileObject);
PFCB Fcb = FileObject->FsContext;
if (!Fcb)
{
return STATUS_SUCCESS;
}
/* Notify about the cleanup */
FsRtlNotifyCleanup(DeviceExt->NotifySync,
&(DeviceExt->NotifyList),