mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 02:13:29 +00:00
[CDFS]
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:
parent
bc61ac0dc5
commit
4c86c611f1
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue